3
0
forked from pool/openssl-3

- Fix linking when the deprecated SSL_get_per_certificate() is in use

* https://github.com/openssl/openssl/pull/12468
  * add 0001-Fix-typo-for-SSL_get_peer_certificate.patch

OBS-URL: https://build.opensuse.org/package/show/security:tls/openssl-3?expand=0&rev=14
This commit is contained in:
Vítězslav Čížek 2020-07-20 09:26:52 +00:00 committed by Git OBS Bridge
parent 0a9d203a57
commit bda45a31f3
3 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,27 @@
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

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Jul 20 08:40:26 UTC 2020 - Vítězslav Čížek <vcizek@suse.com>
- Fix linking when the deprecated SSL_get_per_certificate() is in use
* https://github.com/openssl/openssl/pull/12468
* add 0001-Fix-typo-for-SSL_get_peer_certificate.patch
-------------------------------------------------------------------
Fri Jul 17 08:34:45 UTC 2020 - Pedro Monreal Gonzalez <pmonrealgonzalez@suse.com>

View File

@ -45,6 +45,7 @@ Patch3: openssl-pkgconfig.patch
Patch4: openssl-DEFAULT_SUSE_cipher.patch
Patch5: openssl-ppc64-config.patch
Patch6: openssl-no-date.patch
Patch7: 0001-Fix-typo-for-SSL_get_peer_certificate.patch
BuildRequires: pkgconfig
Conflicts: ssl
Provides: ssl