31 lines
1.2 KiB
Diff
31 lines
1.2 KiB
Diff
From 67ef8f036f7324fe37bc7a7e31a38e7088d21df2 Mon Sep 17 00:00:00 2001
|
|
From: Stephen Gallagher <sgallagh@redhat.com>
|
|
Date: Sat, 7 Aug 2021 11:48:04 -0400
|
|
Subject: [PATCH 1/6] Drop usage of ERR_GET_FUNC()
|
|
|
|
This macro was dropped in OpenSSL 3.0 and has actually not been
|
|
providing a valid return code for some time.
|
|
|
|
Related: rhbz#1964837
|
|
|
|
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
|
|
---
|
|
include/sscg.h | 1 -
|
|
1 file changed, 1 deletion(-)
|
|
|
|
diff --git a/include/sscg.h b/include/sscg.h
|
|
index faf86ba4f68e186bd35c7bc3ec77b98b8e37d253..851dc93175607e5223a70ef40a5feb24b7b69215 100644
|
|
--- a/include/sscg.h
|
|
+++ b/include/sscg.h
|
|
@@ -96,7 +96,6 @@
|
|
/* Get information about error from OpenSSL */ \
|
|
unsigned long _ssl_error = ERR_get_error (); \
|
|
if ((ERR_GET_LIB (_ssl_error) == ERR_LIB_UI) && \
|
|
- (ERR_GET_FUNC (_ssl_error) == UI_F_UI_SET_RESULT_EX) && \
|
|
((ERR_GET_REASON (_ssl_error) == UI_R_RESULT_TOO_LARGE) || \
|
|
(ERR_GET_REASON (_ssl_error) == UI_R_RESULT_TOO_SMALL))) \
|
|
{ \
|
|
--
|
|
2.49.0
|
|
|