summaryrefslogtreecommitdiffstats
path: root/key.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2013-11-10 02:38:42 +0100
committerDarren Tucker <dtucker@zip.com.au>2013-11-10 02:38:42 +0100
commit2c89430119367eb1bc96ea5ee55de83357e4c926 (patch)
treee1f51670a4757a0596e424a4db219f8e5538aeb6 /key.c
parent - (dtucker) [configure.ac] Add missing "test". (diff)
downloadopenssh-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/key.c b/key.c
index bc84953f3..b20bcda59 100644
--- a/key.c
+++ b/key.c
@@ -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