Load system default cipher string from crypto-policies configuration file
...should ignore errors. Related: RHEL-71132
This commit is contained in:
parent
d6a9e4cbb6
commit
7840be76de
@ -139,7 +139,7 @@ index 8360991ce4..33c23efb0d 100644
|
|||||||
+
|
+
|
||||||
+ if ((ciphers_path = secure_getenv("OPENSSL_SYSTEM_CIPHERS_OVERRIDE")) == NULL)
|
+ if ((ciphers_path = secure_getenv("OPENSSL_SYSTEM_CIPHERS_OVERRIDE")) == NULL)
|
||||||
+ ciphers_path = SYSTEM_CIPHERS_FILE;
|
+ ciphers_path = SYSTEM_CIPHERS_FILE;
|
||||||
+
|
+ ERR_set_mark();
|
||||||
+ if (access(ciphers_path, R_OK) == 0) {
|
+ if (access(ciphers_path, R_OK) == 0) {
|
||||||
+ CONF *conf = NCONF_new_ex(NULL, NCONF_default());
|
+ CONF *conf = NCONF_new_ex(NULL, NCONF_default());
|
||||||
+ char *value = NULL;
|
+ char *value = NULL;
|
||||||
@ -153,7 +153,7 @@ index 8360991ce4..33c23efb0d 100644
|
|||||||
+ } else {
|
+ } else {
|
||||||
+ snprintf(buf, sizeof(buf), "%s", SSL_DEFAULT_CIPHER_LIST);
|
+ snprintf(buf, sizeof(buf), "%s", SSL_DEFAULT_CIPHER_LIST);
|
||||||
+ }
|
+ }
|
||||||
+
|
+ ERR_pop_to_mark();
|
||||||
+ slen = strlen(suffix);
|
+ slen = strlen(suffix);
|
||||||
+ len = strlen(buf);
|
+ len = strlen(buf);
|
||||||
+
|
+
|
||||||
|
@ -544,6 +544,9 @@ touch $RPM_BUILD_ROOT/%{_prefix}/include/openssl/engine.h
|
|||||||
* Wed Jan 29 2025 Dmitry Belyavskiy <dbelyavs@redhat.com> - 1:3.2.2-16
|
* Wed Jan 29 2025 Dmitry Belyavskiy <dbelyavs@redhat.com> - 1:3.2.2-16
|
||||||
- Fix timing side-channel in ECDSA signature computation (CVE-2024-13176)
|
- Fix timing side-channel in ECDSA signature computation (CVE-2024-13176)
|
||||||
Resolves: RHEL-70879
|
Resolves: RHEL-70879
|
||||||
|
- Load system default cipher string from crypto-policies configuration file
|
||||||
|
should ignore errors.
|
||||||
|
Related: RHEL-71132
|
||||||
|
|
||||||
* Thu Jan 02 2025 Dmitry Belyavskiy <dbelyavs@redhat.com> - 1:3.2.2-15
|
* Thu Jan 02 2025 Dmitry Belyavskiy <dbelyavs@redhat.com> - 1:3.2.2-15
|
||||||
- Fix providers no_cache behavior
|
- Fix providers no_cache behavior
|
||||||
|
Loading…
Reference in New Issue
Block a user