Fix check for short rsa keys.