openssl-3/0001-Fix-typo-for-SSL_get_peer_certificate.patch

28 lines
909 B
Diff

From 43b3ab6f872ef64622d98ab0e3c88e312453c089 Mon Sep 17 00:00:00 2001
From: Richard Levitte <levitte@openssl.org>
Date: Thu, 16 Jul 2020 19:21:22 +0200
Subject: [PATCH] Fix typo for SSL_get_peer_certificate()
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/12468)
---
include/openssl/ssl.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/openssl/ssl.h b/include/openssl/ssl.h
index 53664229c2..c030346760 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
--
2.27.0