Commit 8eb33e4f authored by Todd Short's avatar Todd Short Committed by Rich Salz
Browse files

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: default avatarRich Salz <rsalz@openssl.org>
Reviewed-by: default avatarMatt Caswell <matt@openssl.org>
parent 52c14c54
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)