Stunnel cannot use an encrypted private key being built against OpenSSL 3.0
Resolves: rhbz#1976854
This commit is contained in:
parent
764b0e31e9
commit
6f7d71c02c
@ -1,19 +1,11 @@
|
|||||||
diff -up stunnel-5.58/src/ctx.c.openssl30 stunnel-5.58/src/ctx.c
|
diff -up stunnel-5.58/src/ctx.c.openssl30 stunnel-5.58/src/ctx.c
|
||||||
--- stunnel-5.58/src/ctx.c.openssl30 2021-07-28 11:12:05.743832246 +0200
|
--- stunnel-5.58/src/ctx.c.openssl30 2021-08-03 16:02:24.687409192 +0200
|
||||||
+++ stunnel-5.58/src/ctx.c 2021-07-28 11:18:19.318021120 +0200
|
+++ stunnel-5.58/src/ctx.c 2021-08-03 16:03:36.889009510 +0200
|
||||||
@@ -1015,6 +1015,15 @@ NOEXPORT int ui_retry() {
|
@@ -1011,6 +1011,7 @@ NOEXPORT int ui_retry() {
|
||||||
|
switch(ERR_GET_REASON(err)) {
|
||||||
|
case UI_R_RESULT_TOO_LARGE:
|
||||||
|
case UI_R_RESULT_TOO_SMALL:
|
||||||
|
+ case UI_R_PROCESSING_ERROR:
|
||||||
|
return 1;
|
||||||
default:
|
default:
|
||||||
return 0;
|
return 0;
|
||||||
}
|
|
||||||
+#ifdef ERR_LIB_OSSL_DECODER
|
|
||||||
+ case ERR_LIB_OSSL_DECODER:
|
|
||||||
+ switch(ERR_GET_REASON(err)) {
|
|
||||||
+ case ERR_R_UNSUPPORTED:
|
|
||||||
+ return 1;
|
|
||||||
+ default:
|
|
||||||
+ return 0;
|
|
||||||
+ }
|
|
||||||
+#endif
|
|
||||||
case ERR_LIB_USER: /* PKCS#11 hacks */
|
|
||||||
switch(ERR_GET_REASON(err)) {
|
|
||||||
case 7UL: /* CKR_ARGUMENTS_BAD */
|
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
Summary: A TLS-encrypting socket wrapper
|
Summary: A TLS-encrypting socket wrapper
|
||||||
Name: stunnel
|
Name: stunnel
|
||||||
Version: 5.58
|
Version: 5.58
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
URL: http://www.stunnel.org/
|
URL: http://www.stunnel.org/
|
||||||
Source0: https://www.stunnel.org/downloads/stunnel-%{version}.tar.gz
|
Source0: https://www.stunnel.org/downloads/stunnel-%{version}.tar.gz
|
||||||
@ -143,6 +143,10 @@ make test || (for i in tests/logs/*.log ; do echo "$i": ; cat "$i" ; done)
|
|||||||
%systemd_postun_with_restart %{name}.service
|
%systemd_postun_with_restart %{name}.service
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Aug 03 2021 Dmitry Belyavskiy <dbelyavs@redhat.com> - 5.58-5
|
||||||
|
- Stunnel cannot use an encrypted private key being built against OpenSSL 3.0
|
||||||
|
- Resolves: rhbz#1976854
|
||||||
|
|
||||||
* Wed Jul 28 2021 Dmitry Belyavskiy <dbelyavs@redhat.com> - 5.58-4
|
* Wed Jul 28 2021 Dmitry Belyavskiy <dbelyavs@redhat.com> - 5.58-4
|
||||||
- Stunnel cannot use an encrypted private key being built against OpenSSL 3.0
|
- Stunnel cannot use an encrypted private key being built against OpenSSL 3.0
|
||||||
- Resolves: rhbz#1976854
|
- Resolves: rhbz#1976854
|
||||||
|
Loading…
Reference in New Issue
Block a user