fix ecdsa key generation

i sent pull request before.
this is better one


fix ecdsa key generation for current paramiko master
Yes, this is good. I can't find the generate method on the ECDSA test class anymore. I think this should go in as a bugfix.