projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52c14c5
)
Fix SSL_CIPHER_get_auth_nid return
author
Todd Short
<tshort@akamai.com>
Tue, 8 Mar 2016 19:27:23 +0000
(14:27 -0500)
committer
Rich Salz
<rsalz@openssl.org>
Wed, 9 Mar 2016 00:45:54 +0000
(19:45 -0500)
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>
ssl/ssl_ciph.c
patch
|
blob
|
history
diff --git
a/ssl/ssl_ciph.c
b/ssl/ssl_ciph.c
index 352bab9b0e10a5d159dd803ea6f526a78173bf60..6f2d970798c8741ba7b76f0f8dcf9a1137f9495b 100644
(file)
--- 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)