blob: 3f43cacd51bfd32bc53f01bf9cf52579029c8ca3 (
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
|
From ec7bcaa642651cff434a1e4123cc248da37dacd9 Mon Sep 17 00:00:00 2001
From: Sergey Avseyev <sergey.avseyev@gmail.com>
Date: Wed, 16 Dec 2020 15:22:59 +0300
Subject: [PATCH] Enforce system crypto policies
Change-Id: I3a011fa4aaf3ee7a337a6d48ef4913fec78b1d41
---
src/ssl/ssl_common.c | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/src/ssl/ssl_common.c b/src/ssl/ssl_common.c
index 4d64bb35..8c4e785f 100644
--- a/src/ssl/ssl_common.c
+++ b/src/ssl/ssl_common.c
@@ -305,11 +305,7 @@ lcbio_pSSLCTX lcbio_ssl_new(const char *tsfile, const char *cafile, const char *
lcb_STATUS err_s;
lcbio_pSSLCTX ret;
- static const char *default_ssl_cipher_list =
- "DHE-RSA-AES256-SHA:DHE-DSS-AES256-SHA:AES256-SHA:EDH-RSA-DES-CBC3-SHA:EDH-DSS-DES-CBC3-SHA:DES-CBC3-SHA:DES-"
- "CBC3-MD5:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA:AES128-SHA:DHE-RSA-SEED-SHA:DHE-DSS-SEED-SHA:SEED-SHA:RC2-CBC-"
- "MD5:RC4-SHA:RC4-MD5:RC4-MD5:EDH-RSA-DES-CBC-SHA:EDH-DSS-DES-CBC-SHA:DES-CBC-SHA:DES-CBC-MD5:EXP-EDH-RSA-DES-"
- "CBC-SHA:EXP-EDH-DSS-DES-CBC-SHA:EXP-DES-CBC-SHA:EXP-RC2-CBC-MD5:EXP-RC2-CBC-MD5:EXP-RC4-MD5:EXP-RC4-MD5";
+ static const char *default_ssl_cipher_list = "PROFILE=SYSTEM";
const char* cipher_list = getenv("LCB_SSL_CIPHER_LIST");
#ifdef HAVE_CIPHERSUITES
--
2.29.2
|