When Riku took the Keyblade from Sora in Hollow Bastion, he said:
"Maleficent was right. You don't have what it takes to save the worlds."
This doesn't mean he was the true Keyblade master. Maleficent told him this so that Sora wouldn't be a threat to them. You know, true is such an ingorant word...