01f2687 Add a fallback for key generation size

Authored and Committed by Nalin Dahyabhai 9 years ago
    Add a fallback for key generation size
    
    If we fail to generate a key of the requested size, try again with the
    default key size, since FIPS mode will make key generation fail
    sometimes.
    
        
file modified
+13 -2
file modified
+14 -0