summaryrefslogtreecommitdiff
path: root/zabbix-crypto-policy.patch
blob: 8a157ce1bbcbe06c0d00b8d40f804617362ccb99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
diff -up zabbix-5.0.2/src/libs/zbxcrypto/tls.c.crypto-policy zabbix-5.0.2/src/libs/zbxcrypto/tls.c
--- zabbix-5.0.2/src/libs/zbxcrypto/tls.c.crypto-policy	2020-07-06 03:54:32.000000000 -0600
+++ zabbix-5.0.2/src/libs/zbxcrypto/tls.c	2020-07-18 21:22:13.125099598 -0600
@@ -2932,7 +2932,7 @@ void	zbx_tls_init_child(void)
 				goto out;
 			}
 		}
-		else if (1 != SSL_CTX_set_cipher_list(ctx_cert, ciphers))
+		else if (1 != SSL_CTX_set_cipher_list(ctx_cert, "PROFILE=SYSTEM"))
 		{
 			zbx_snprintf_alloc(&error, &error_alloc, &error_offset, "cannot set list of certificate"
 					" ciphersuites:");
@@ -3014,7 +3014,7 @@ void	zbx_tls_init_child(void)
 				goto out;
 			}
 		}
-		else if (1 != SSL_CTX_set_cipher_list(ctx_psk, ciphers))
+		else if (1 != SSL_CTX_set_cipher_list(ctx_psk, "PROFILE=SYSTEM"))
 		{
 			zbx_snprintf_alloc(&error, &error_alloc, &error_offset, "cannot set list of PSK ciphersuites:");
 			goto out;
@@ -3070,7 +3070,7 @@ void	zbx_tls_init_child(void)
 				goto out;
 			}
 		}
-		else if (1 != SSL_CTX_set_cipher_list(ctx_all, ciphers))
+		else if (1 != SSL_CTX_set_cipher_list(ctx_all, "PROFILE=SYSTEM"))
 		{
 			zbx_snprintf_alloc(&error, &error_alloc, &error_offset, "cannot set list of all ciphersuites:");
 			goto out;