From: Richard Levitte Date: Thu, 16 Jul 2020 17:21:22 +0000 (+0200) Subject: Fix typo for SSL_get_peer_certificate() X-Git-Tag: openssl-3.0.0-alpha6~105 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=43b3ab6f872ef64622d98ab0e3c88e312453c089;p=thirdparty%2Fopenssl.git Fix typo for SSL_get_peer_certificate() Reviewed-by: Shane Lontis (Merged from https://github.com/openssl/openssl/pull/12468) --- diff --git a/include/openssl/ssl.h b/include/openssl/ssl.h index 53664229c27..c030346760f 100644 --- a/include/openssl/ssl.h +++ b/include/openssl/ssl.h @@ -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