diff options
author | Todd Short <tshort@akamai.com> | 2016-03-08 14:27:23 -0500 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2016-03-08 19:45:54 -0500 |
commit | 8eb33e4f088bd12f16afddb06d6a1692373a539e (patch) | |
tree | a8eac0c32340bfef5dfd4370b219a342b298efec /ssl/ssl_ciph.c | |
parent | 52c14c5454c75c4ec3d7929b3119e44f9844ab39 (diff) | |
download | openssl-8eb33e4f088bd12f16afddb06d6a1692373a539e.tar.gz |
Fix SSL_CIPHER_get_auth_nid return
Copy/paste error between SSL_CIPHER_get_kx_nid() and
SSL_CIPHER_get_auth_nid(), wrong table was referenced
Signed-off-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'ssl/ssl_ciph.c')
-rw-r--r-- | ssl/ssl_ciph.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/ssl_ciph.c b/ssl/ssl_ciph.c index 352bab9b0e..6f2d970798 100644 --- a/ssl/ssl_ciph.c +++ b/ssl/ssl_ciph.c @@ -2052,7 +2052,7 @@ int SSL_CIPHER_get_auth_nid(const SSL_CIPHER *c) if (i == -1) return NID_undef; - return ssl_cipher_table_kx[i].nid; + return ssl_cipher_table_auth[i].nid; } int SSL_CIPHER_is_aead(const SSL_CIPHER *c) |