diff options
author | Darren Tucker <dtucker@zip.com.au> | 2013-11-10 02:38:42 +0100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2013-11-10 02:38:42 +0100 |
commit | 2c89430119367eb1bc96ea5ee55de83357e4c926 (patch) | |
tree | e1f51670a4757a0596e424a4db219f8e5538aeb6 /key.c | |
parent | - (dtucker) [configure.ac] Add missing "test". (diff) | |
download | openssh-2c89430119367eb1bc96ea5ee55de83357e4c926.tar.xz openssh-2c89430119367eb1bc96ea5ee55de83357e4c926.zip |
- (dtucker) [key.c] Check for the correct defines for NID_secp521r1.
Diffstat (limited to 'key.c')
-rw-r--r-- | key.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1104,7 +1104,7 @@ key_ecdsa_bits_to_nid(int bits) return NID_X9_62_prime256v1; case 384: return NID_secp384r1; -# ifdef HAVE_OPENSSL_NISTP521 +# ifdef OPENSSL_HAS_NISTP521 case 521: return NID_secp521r1; # endif @@ -2058,7 +2058,7 @@ key_curve_nid_to_bits(int nid) return 256; case NID_secp384r1: return 384; -# ifdef OPENSSL_NAS_NISTP521 +# ifdef OPENSSL_HAS_NISTP521 case NID_secp521r1: return 521; # endif |