diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2013-10-15 12:08:47 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2013-10-15 12:09:54 +0100 |
commit | 3a55a42bff966d2a01da6aec92d700d1f2bb684d (patch) | |
tree | 26d26d24fcffce4aeef3c7ded81bdbe17707f881 | |
parent | 72550c52ed277050cf2819976720a9ac8225efc6 (diff) |
Add brainpool curves to NID table too.
(cherry picked from commit 6699cb84912f0d7c04acbf91c3e3dbdae5929857)
-rw-r--r-- | ssl/t1_lib.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ssl/t1_lib.c b/ssl/t1_lib.c index a3e13ccdb1..ced7b83381 100644 --- a/ssl/t1_lib.c +++ b/ssl/t1_lib.c @@ -360,6 +360,12 @@ int tls1_ec_nid2curve_id(int nid) return 24; case NID_secp521r1: /* secp521r1 (25) */ return 25; + case NID_brainpoolP256r1: /* brainpoolP256r1 (26) */ + return 26; + case NID_brainpoolP384r1: /* brainpoolP384r1 (27) */ + return 27; + case NID_brainpoolP512r1: /* brainpool512r1 (28) */ + return 28; default: return 0; } |