diff options
author | Dr. David von Oheimb <David.von.Oheimb@siemens.com> | 2020-05-25 13:17:51 +0200 |
---|---|---|
committer | Dr. David von Oheimb <David.von.Oheimb@siemens.com> | 2020-05-27 14:36:13 +0200 |
commit | c74aaa3920f116fe4c1003153838144c37d6e527 (patch) | |
tree | 47475bbd2b276e95dab977ff832d5405602ac2f8 /ssl | |
parent | 9e3c510bde91350c5a40b7ba4e9e0945895e9368 (diff) |
Rename EVP_PKEY_cmp() to EVP_PKEY_eq() and EVP_PKEY_cmp_parameters() to EVP_PKEY_parameters_eq()
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/11953)
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/ssl_rsa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/ssl_rsa.c b/ssl/ssl_rsa.c index 7a699747d3..3df32b725b 100644 --- a/ssl/ssl_rsa.c +++ b/ssl/ssl_rsa.c @@ -1115,7 +1115,7 @@ static int ssl_set_cert_and_key(SSL *ssl, SSL_CTX *ctx, X509 *x509, EVP_PKEY *pr else #endif /* check that key <-> cert match */ - if (EVP_PKEY_cmp(pubkey, privatekey) != 1) { + if (EVP_PKEY_eq(pubkey, privatekey) != 1) { SSLerr(SSL_F_SSL_SET_CERT_AND_KEY, SSL_R_PRIVATE_KEY_MISMATCH); goto out; } |