Fix typo for SSL_get_peer_certificate()

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/12468)
This commit is contained in:
Richard Levitte 2020-07-16 19:21:22 +02:00
parent 1bb78e72b9
commit 43b3ab6f87

View File

@ -1710,7 +1710,7 @@ __owur X509 *SSL_get0_peer_certificate(const SSL *s);
__owur X509 *SSL_get1_peer_certificate(const SSL *s);
/* Deprecated in 3.0.0 */
# ifndef OPENSSL_NO_DEPRECATED_3_0
# define SSL_get_peer_certificate SSL_get1_peer_certifiate
# define SSL_get_peer_certificate SSL_get1_peer_certificate
# endif
# endif