fix for ecda key generate

I have trouble generating ecdsakey with current paramiko master
so made a fix