2018-08-22 10:41:26 +00:00
|
|
|
diff -up openssl-1.1.1-pre9/Configurations/unix-Makefile.tmpl.system-cipherlist openssl-1.1.1-pre9/Configurations/unix-Makefile.tmpl
|
|
|
|
--- openssl-1.1.1-pre9/Configurations/unix-Makefile.tmpl.system-cipherlist 2018-08-22 12:15:54.520742678 +0200
|
|
|
|
+++ openssl-1.1.1-pre9/Configurations/unix-Makefile.tmpl 2018-08-22 12:15:54.554743511 +0200
|
|
|
|
@@ -180,6 +180,10 @@ MANDIR=$(INSTALLTOP)/share/man
|
2016-10-11 08:31:54 +00:00
|
|
|
DOCDIR=$(INSTALLTOP)/share/doc/$(BASENAME)
|
|
|
|
HTMLDIR=$(DOCDIR)/html
|
|
|
|
|
|
|
|
+{- output_off() if $config{system_ciphers_file} eq ""; "" -}
|
|
|
|
+SYSTEM_CIPHERS_FILE_DEFINE=-DSYSTEM_CIPHERS_FILE="\"{- $config{system_ciphers_file} -}\""
|
|
|
|
+{- output_on() if $config{system_ciphers_file} eq ""; "" -}
|
|
|
|
+
|
|
|
|
# MANSUFFIX is for the benefit of anyone who may want to have a suffix
|
|
|
|
# appended after the manpage file section number. "ssl" is popular,
|
|
|
|
# resulting in files such as config.5ssl rather than config.5.
|
2018-08-22 10:41:26 +00:00
|
|
|
@@ -203,6 +207,7 @@ CC=$(CROSS_COMPILE){- $config{CC} -}
|
2018-07-25 16:15:19 +00:00
|
|
|
CXX={- $config{CXX} ? "\$(CROSS_COMPILE)$config{CXX}" : '' -}
|
|
|
|
CPPFLAGS={- our $cppflags1 = join(" ",
|
|
|
|
(map { "-D".$_} @{$config{CPPDEFINES}}),
|
|
|
|
+ "\$(SYSTEM_CIPHERS_FILE_DEFINE)",
|
|
|
|
(map { "-I".$_} @{$config{CPPINCLUDES}}),
|
|
|
|
@{$config{CPPFLAGS}}) -}
|
|
|
|
CFLAGS={- join(' ', @{$config{CFLAGS}}) -}
|
2018-08-22 10:41:26 +00:00
|
|
|
diff -up openssl-1.1.1-pre9/Configure.system-cipherlist openssl-1.1.1-pre9/Configure
|
|
|
|
--- openssl-1.1.1-pre9/Configure.system-cipherlist 2018-08-21 14:14:11.000000000 +0200
|
|
|
|
+++ openssl-1.1.1-pre9/Configure 2018-08-22 12:16:46.600018343 +0200
|
|
|
|
@@ -24,7 +24,7 @@ use OpenSSL::Glob;
|
|
|
|
my $orig_death_handler = $SIG{__DIE__};
|
|
|
|
$SIG{__DIE__} = \&death_handler;
|
2016-10-11 08:31:54 +00:00
|
|
|
|
|
|
|
-my $usage="Usage: Configure [no-<cipher> ...] [enable-<cipher> ...] [-Dxxx] [-lxxx] [-Lxxx] [-fxxx] [-Kxxx] [no-hw-xxx|no-hw] [[no-]threads] [[no-]shared] [[no-]zlib|zlib-dynamic] [no-asm] [no-dso] [no-egd] [sctp] [386] [--prefix=DIR] [--openssldir=OPENSSLDIR] [--with-xxx[=vvv]] [--config=FILE] os/compiler[:flags]\n";
|
|
|
|
+my $usage="Usage: Configure [no-<cipher> ...] [enable-<cipher> ...] [-Dxxx] [-lxxx] [-Lxxx] [-fxxx] [-Kxxx] [no-hw-xxx|no-hw] [[no-]threads] [[no-]shared] [[no-]zlib|zlib-dynamic] [no-asm] [no-dso] [no-egd] [sctp] [386] [--prefix=DIR] [--openssldir=OPENSSLDIR] [--system-ciphers-file=SYSTEMCIPHERFILE] [--with-xxx[=vvv]] [--config=FILE] os/compiler[:flags]\n";
|
|
|
|
|
|
|
|
# Options:
|
|
|
|
#
|
2018-08-22 10:41:26 +00:00
|
|
|
@@ -41,6 +41,9 @@ my $usage="Usage: Configure [no-<cipher>
|
2016-10-11 08:31:54 +00:00
|
|
|
# This becomes the value of OPENSSLDIR in Makefile and in C.
|
|
|
|
# (Default: PREFIX/ssl)
|
|
|
|
#
|
|
|
|
+# --system-ciphers-file A file to read cipher string from when the PROFILE=SYSTEM
|
|
|
|
+# cipher is specified (default).
|
|
|
|
+#
|
|
|
|
# --cross-compile-prefix Add specified prefix to binutils components.
|
|
|
|
#
|
|
|
|
# --api One of 0.9.8, 1.0.0 or 1.1.0. Do not compile support for
|
2018-08-22 10:41:26 +00:00
|
|
|
@@ -295,6 +298,7 @@ $config{prefix}="";
|
2018-07-25 16:15:19 +00:00
|
|
|
$config{openssldir}="";
|
2016-10-11 08:31:54 +00:00
|
|
|
$config{processor}="";
|
|
|
|
$config{libdir}="";
|
|
|
|
+$config{system_ciphers_file}="";
|
2018-07-25 16:15:19 +00:00
|
|
|
my $auto_threads=1; # enable threads automatically? true by default
|
|
|
|
my $default_ranlib;
|
|
|
|
|
2018-08-22 10:41:26 +00:00
|
|
|
@@ -817,6 +821,10 @@ while (@argvcopy)
|
2018-07-25 16:15:19 +00:00
|
|
|
push @seed_sources, $x;
|
|
|
|
}
|
|
|
|
}
|
2016-10-11 08:31:54 +00:00
|
|
|
+ elsif (/^--system-ciphers-file=(.*)$/)
|
|
|
|
+ {
|
|
|
|
+ $config{system_ciphers_file}=$1;
|
|
|
|
+ }
|
|
|
|
elsif (/^--cross-compile-prefix=(.*)$/)
|
|
|
|
{
|
2018-07-25 16:15:19 +00:00
|
|
|
$user{CROSS_COMPILE}=$1;
|
2018-08-22 10:41:26 +00:00
|
|
|
@@ -1003,6 +1011,8 @@ if ($target eq "HASH") {
|
2018-07-25 16:15:19 +00:00
|
|
|
exit 0;
|
2016-10-11 08:31:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
+chop $config{system_ciphers_file} if $config{system_ciphers_file} =~ /\/$/;
|
|
|
|
+
|
2018-07-25 16:15:19 +00:00
|
|
|
print "Configuring OpenSSL version $config{version} ($config{version_num}) ";
|
|
|
|
print "for $target\n";
|
|
|
|
|
2018-08-22 10:41:26 +00:00
|
|
|
diff -up openssl-1.1.1-pre9/doc/man1/ciphers.pod.system-cipherlist openssl-1.1.1-pre9/doc/man1/ciphers.pod
|
|
|
|
--- openssl-1.1.1-pre9/doc/man1/ciphers.pod.system-cipherlist 2018-08-21 14:14:13.000000000 +0200
|
|
|
|
+++ openssl-1.1.1-pre9/doc/man1/ciphers.pod 2018-08-22 12:15:54.555743536 +0200
|
|
|
|
@@ -182,6 +182,15 @@ As of OpenSSL 1.0.0, the B<ALL> cipher s
|
2017-02-16 15:59:27 +00:00
|
|
|
|
|
|
|
The cipher suites not enabled by B<ALL>, currently B<eNULL>.
|
|
|
|
|
|
|
|
+=item B<PROFILE=SYSTEM>
|
|
|
|
+
|
|
|
|
+The list of enabled cipher suites will be loaded from the system crypto policy
|
|
|
|
+configuration file B</etc/crypto-policies/back-ends/openssl.config>.
|
|
|
|
+See also L<update-crypto-policies(8)>.
|
|
|
|
+This is the default behavior unless an application explicitly sets a cipher
|
|
|
|
+list. If used in a cipher list configuration value this string must be at the
|
|
|
|
+beginning of the cipher list, otherwise it will not be recognized.
|
|
|
|
+
|
|
|
|
=item B<HIGH>
|
|
|
|
|
2018-07-25 16:15:19 +00:00
|
|
|
"High" encryption cipher suites. This currently means those with key lengths
|
2018-08-22 10:41:26 +00:00
|
|
|
diff -up openssl-1.1.1-pre9/include/openssl/ssl.h.system-cipherlist openssl-1.1.1-pre9/include/openssl/ssl.h
|
|
|
|
--- openssl-1.1.1-pre9/include/openssl/ssl.h.system-cipherlist 2018-08-21 14:14:15.000000000 +0200
|
|
|
|
+++ openssl-1.1.1-pre9/include/openssl/ssl.h 2018-08-22 12:15:54.557743585 +0200
|
2018-07-25 16:15:19 +00:00
|
|
|
@@ -186,6 +186,11 @@ extern "C" {
|
2016-10-11 08:31:54 +00:00
|
|
|
* throwing out anonymous and unencrypted ciphersuites! (The latter are not
|
|
|
|
* actually enabled by ALL, but "ALL:RSA" would enable some of them.)
|
|
|
|
*/
|
|
|
|
+# ifdef SYSTEM_CIPHERS_FILE
|
|
|
|
+# define SSL_SYSTEM_DEFAULT_CIPHER_LIST "PROFILE=SYSTEM"
|
|
|
|
+# else
|
|
|
|
+# define SSL_SYSTEM_DEFAULT_CIPHER_LIST SSL_DEFAULT_CIPHER_LIST
|
|
|
|
+# endif
|
|
|
|
|
|
|
|
/* Used in SSL_set_shutdown()/SSL_get_shutdown(); */
|
|
|
|
# define SSL_SENT_SHUTDOWN 1
|
2018-08-22 10:41:26 +00:00
|
|
|
diff -up openssl-1.1.1-pre9/ssl/ssl_ciph.c.system-cipherlist openssl-1.1.1-pre9/ssl/ssl_ciph.c
|
|
|
|
--- openssl-1.1.1-pre9/ssl/ssl_ciph.c.system-cipherlist 2018-08-21 14:14:15.000000000 +0200
|
|
|
|
+++ openssl-1.1.1-pre9/ssl/ssl_ciph.c 2018-08-22 12:15:54.557743585 +0200
|
2018-07-25 16:15:19 +00:00
|
|
|
@@ -9,6 +9,8 @@
|
|
|
|
* https://www.openssl.org/source/license.html
|
|
|
|
*/
|
|
|
|
|
|
|
|
+/* for secure_getenv */
|
|
|
|
+#define _GNU_SOURCE
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <ctype.h>
|
|
|
|
#include <openssl/objects.h>
|
2018-08-22 10:41:26 +00:00
|
|
|
@@ -1397,6 +1399,53 @@ int SSL_set_ciphersuites(SSL *s, const c
|
2018-07-25 16:15:19 +00:00
|
|
|
return ret;
|
2016-10-11 08:31:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
+#ifdef SYSTEM_CIPHERS_FILE
|
|
|
|
+static char *load_system_str(const char *suffix)
|
|
|
|
+{
|
|
|
|
+ FILE *fp;
|
|
|
|
+ char buf[1024];
|
|
|
|
+ char *new_rules;
|
2018-07-25 16:15:19 +00:00
|
|
|
+ const char *ciphers_path;
|
2016-10-11 08:31:54 +00:00
|
|
|
+ unsigned len, slen;
|
|
|
|
+
|
2018-07-25 16:15:19 +00:00
|
|
|
+ if ((ciphers_path = secure_getenv("OPENSSL_SYSTEM_CIPHERS_OVERRIDE")) == NULL)
|
|
|
|
+ ciphers_path = SYSTEM_CIPHERS_FILE;
|
|
|
|
+ fp = fopen(ciphers_path, "r");
|
2016-10-11 08:31:54 +00:00
|
|
|
+ if (fp == NULL || fgets(buf, sizeof(buf), fp) == NULL) {
|
|
|
|
+ /* cannot open or file is empty */
|
|
|
|
+ snprintf(buf, sizeof(buf), "%s", SSL_DEFAULT_CIPHER_LIST);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ if (fp)
|
|
|
|
+ fclose(fp);
|
|
|
|
+
|
|
|
|
+ slen = strlen(suffix);
|
|
|
|
+ len = strlen(buf);
|
|
|
|
+
|
|
|
|
+ if (buf[len - 1] == '\n') {
|
|
|
|
+ len--;
|
|
|
|
+ buf[len] = 0;
|
|
|
|
+ }
|
|
|
|
+ if (buf[len - 1] == '\r') {
|
|
|
|
+ len--;
|
|
|
|
+ buf[len] = 0;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ new_rules = OPENSSL_malloc(len + slen + 1);
|
|
|
|
+ if (new_rules == 0)
|
|
|
|
+ return NULL;
|
|
|
|
+
|
|
|
|
+ memcpy(new_rules, buf, len);
|
|
|
|
+ if (slen > 0) {
|
|
|
|
+ memcpy(&new_rules[len], suffix, slen);
|
|
|
|
+ len += slen;
|
|
|
|
+ }
|
|
|
|
+ new_rules[len] = 0;
|
|
|
|
+
|
|
|
|
+ return new_rules;
|
|
|
|
+}
|
|
|
|
+#endif
|
|
|
|
+
|
2018-07-25 16:15:19 +00:00
|
|
|
STACK_OF(SSL_CIPHER) *ssl_create_cipher_list(const SSL_METHOD *ssl_method,
|
|
|
|
STACK_OF(SSL_CIPHER) *tls13_ciphersuites,
|
|
|
|
STACK_OF(SSL_CIPHER) **cipher_list,
|
2018-08-22 10:41:26 +00:00
|
|
|
@@ -1410,15 +1459,25 @@ STACK_OF(SSL_CIPHER) *ssl_create_cipher_
|
2016-10-11 08:31:54 +00:00
|
|
|
const char *rule_p;
|
|
|
|
CIPHER_ORDER *co_list = NULL, *head = NULL, *tail = NULL, *curr;
|
|
|
|
const SSL_CIPHER **ca_list = NULL;
|
|
|
|
+#ifdef SYSTEM_CIPHERS_FILE
|
|
|
|
+ char *new_rules = NULL;
|
|
|
|
+
|
|
|
|
+ if (rule_str != NULL && strncmp(rule_str, "PROFILE=SYSTEM", 14) == 0) {
|
|
|
|
+ char *p = rule_str + 14;
|
|
|
|
+
|
|
|
|
+ new_rules = load_system_str(p);
|
|
|
|
+ rule_str = new_rules;
|
|
|
|
+ }
|
|
|
|
+#endif
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Return with error if nothing to do.
|
|
|
|
*/
|
|
|
|
if (rule_str == NULL || cipher_list == NULL || cipher_list_by_id == NULL)
|
|
|
|
- return NULL;
|
2018-07-25 16:15:19 +00:00
|
|
|
+ goto err;
|
2016-10-11 08:31:54 +00:00
|
|
|
#ifndef OPENSSL_NO_EC
|
|
|
|
if (!check_suiteb_cipher_list(ssl_method, c, &rule_str))
|
|
|
|
- return NULL;
|
2018-07-25 16:15:19 +00:00
|
|
|
+ goto err;
|
2016-10-11 08:31:54 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
/*
|
2018-08-22 10:41:26 +00:00
|
|
|
@@ -1441,7 +1500,7 @@ STACK_OF(SSL_CIPHER) *ssl_create_cipher_
|
2016-10-11 08:31:54 +00:00
|
|
|
co_list = OPENSSL_malloc(sizeof(*co_list) * num_of_ciphers);
|
|
|
|
if (co_list == NULL) {
|
|
|
|
SSLerr(SSL_F_SSL_CREATE_CIPHER_LIST, ERR_R_MALLOC_FAILURE);
|
2018-07-25 16:15:19 +00:00
|
|
|
- return NULL; /* Failure */
|
|
|
|
+ goto err;
|
2016-10-11 08:31:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
ssl_cipher_collect_ciphers(ssl_method, num_of_ciphers,
|
2018-08-22 10:41:26 +00:00
|
|
|
@@ -1507,8 +1566,7 @@ STACK_OF(SSL_CIPHER) *ssl_create_cipher_
|
2016-10-11 08:31:54 +00:00
|
|
|
* in force within each class
|
|
|
|
*/
|
|
|
|
if (!ssl_cipher_strength_sort(&head, &tail)) {
|
|
|
|
- OPENSSL_free(co_list);
|
|
|
|
- return NULL;
|
2018-07-25 16:15:19 +00:00
|
|
|
+ goto err;
|
2016-10-11 08:31:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
2018-08-22 10:41:26 +00:00
|
|
|
@@ -1553,9 +1611,8 @@ STACK_OF(SSL_CIPHER) *ssl_create_cipher_
|
2016-10-11 08:31:54 +00:00
|
|
|
num_of_alias_max = num_of_ciphers + num_of_group_aliases + 1;
|
|
|
|
ca_list = OPENSSL_malloc(sizeof(*ca_list) * num_of_alias_max);
|
|
|
|
if (ca_list == NULL) {
|
|
|
|
- OPENSSL_free(co_list);
|
|
|
|
SSLerr(SSL_F_SSL_CREATE_CIPHER_LIST, ERR_R_MALLOC_FAILURE);
|
2018-07-25 16:15:19 +00:00
|
|
|
- return NULL; /* Failure */
|
|
|
|
+ goto err;
|
2016-10-11 08:31:54 +00:00
|
|
|
}
|
|
|
|
ssl_cipher_collect_aliases(ca_list, num_of_group_aliases,
|
|
|
|
disabled_mkey, disabled_auth, disabled_enc,
|
2018-08-22 10:41:26 +00:00
|
|
|
@@ -1581,8 +1638,7 @@ STACK_OF(SSL_CIPHER) *ssl_create_cipher_
|
2016-10-11 08:31:54 +00:00
|
|
|
OPENSSL_free(ca_list); /* Not needed anymore */
|
|
|
|
|
|
|
|
if (!ok) { /* Rule processing failure */
|
|
|
|
- OPENSSL_free(co_list);
|
2018-07-25 16:15:19 +00:00
|
|
|
- return NULL;
|
|
|
|
+ goto err;
|
2016-10-11 08:31:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
2018-08-22 10:41:26 +00:00
|
|
|
@@ -1590,14 +1646,18 @@ STACK_OF(SSL_CIPHER) *ssl_create_cipher_
|
2016-10-11 08:31:54 +00:00
|
|
|
* if we cannot get one.
|
|
|
|
*/
|
|
|
|
if ((cipherstack = sk_SSL_CIPHER_new_null()) == NULL) {
|
|
|
|
- OPENSSL_free(co_list);
|
2018-07-25 16:15:19 +00:00
|
|
|
- return NULL;
|
|
|
|
+ goto err;
|
2016-10-11 08:31:54 +00:00
|
|
|
}
|
|
|
|
|
2018-07-25 16:15:19 +00:00
|
|
|
+#ifdef SYSTEM_CIPHERS_FILE
|
|
|
|
+ OPENSSL_free(new_rules); /* Not needed anymore */
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
/* Add TLSv1.3 ciphers first - we always prefer those if possible */
|
|
|
|
for (i = 0; i < sk_SSL_CIPHER_num(tls13_ciphersuites); i++) {
|
|
|
|
if (!sk_SSL_CIPHER_push(cipherstack,
|
|
|
|
sk_SSL_CIPHER_value(tls13_ciphersuites, i))) {
|
|
|
|
+ OPENSSL_free(co_list);
|
|
|
|
sk_SSL_CIPHER_free(cipherstack);
|
|
|
|
return NULL;
|
2016-10-11 08:31:54 +00:00
|
|
|
}
|
2018-08-22 10:41:26 +00:00
|
|
|
@@ -1629,6 +1689,14 @@ STACK_OF(SSL_CIPHER) *ssl_create_cipher_
|
2016-10-11 08:31:54 +00:00
|
|
|
*cipher_list = cipherstack;
|
|
|
|
|
2018-07-25 16:15:19 +00:00
|
|
|
return cipherstack;
|
2016-10-11 08:31:54 +00:00
|
|
|
+
|
2018-07-25 16:15:19 +00:00
|
|
|
+err:
|
2016-10-11 08:31:54 +00:00
|
|
|
+ OPENSSL_free(co_list);
|
|
|
|
+#ifdef SYSTEM_CIPHERS_FILE
|
|
|
|
+ OPENSSL_free(new_rules);
|
|
|
|
+#endif
|
2018-07-25 16:15:19 +00:00
|
|
|
+ return NULL;
|
|
|
|
+
|
2016-10-11 08:31:54 +00:00
|
|
|
}
|
|
|
|
|
2018-07-25 16:15:19 +00:00
|
|
|
char *SSL_CIPHER_description(const SSL_CIPHER *cipher, char *buf, int len)
|
2018-08-22 10:41:26 +00:00
|
|
|
diff -up openssl-1.1.1-pre9/ssl/ssl_lib.c.system-cipherlist openssl-1.1.1-pre9/ssl/ssl_lib.c
|
|
|
|
--- openssl-1.1.1-pre9/ssl/ssl_lib.c.system-cipherlist 2018-08-22 12:15:54.552743462 +0200
|
|
|
|
+++ openssl-1.1.1-pre9/ssl/ssl_lib.c 2018-08-22 12:15:54.558743609 +0200
|
2018-07-25 16:15:19 +00:00
|
|
|
@@ -658,7 +658,7 @@ int SSL_CTX_set_ssl_version(SSL_CTX *ctx
|
|
|
|
ctx->tls13_ciphersuites,
|
|
|
|
&(ctx->cipher_list),
|
2016-10-11 08:31:54 +00:00
|
|
|
&(ctx->cipher_list_by_id),
|
|
|
|
- SSL_DEFAULT_CIPHER_LIST, ctx->cert);
|
|
|
|
+ SSL_SYSTEM_DEFAULT_CIPHER_LIST, ctx->cert);
|
|
|
|
if ((sk == NULL) || (sk_SSL_CIPHER_num(sk) <= 0)) {
|
|
|
|
SSLerr(SSL_F_SSL_CTX_SET_SSL_VERSION, SSL_R_SSL_LIBRARY_HAS_NO_CIPHERS);
|
2018-07-25 16:15:19 +00:00
|
|
|
return 0;
|
2018-08-22 10:41:26 +00:00
|
|
|
@@ -2933,7 +2933,7 @@ SSL_CTX *SSL_CTX_new(const SSL_METHOD *m
|
2016-10-11 08:31:54 +00:00
|
|
|
if (!ssl_create_cipher_list(ret->method,
|
2018-07-25 16:15:19 +00:00
|
|
|
ret->tls13_ciphersuites,
|
2016-10-11 08:31:54 +00:00
|
|
|
&ret->cipher_list, &ret->cipher_list_by_id,
|
|
|
|
- SSL_DEFAULT_CIPHER_LIST, ret->cert)
|
|
|
|
+ SSL_SYSTEM_DEFAULT_CIPHER_LIST, ret->cert)
|
|
|
|
|| sk_SSL_CIPHER_num(ret->cipher_list) <= 0) {
|
|
|
|
SSLerr(SSL_F_SSL_CTX_NEW, SSL_R_LIBRARY_HAS_NO_CIPHERS);
|
|
|
|
goto err2;
|
2019-02-28 16:00:02 +00:00
|
|
|
diff -up openssl-1.1.1b/test/cipherlist_test.c.system-cipherlist openssl-1.1.1b/test/cipherlist_test.c
|
|
|
|
--- openssl-1.1.1b/test/cipherlist_test.c.system-cipherlist 2019-02-28 11:27:15.181936081 +0100
|
|
|
|
+++ openssl-1.1.1b/test/cipherlist_test.c 2019-02-28 11:28:53.357111055 +0100
|
|
|
|
@@ -251,7 +251,9 @@ end:
|
2016-10-11 08:31:54 +00:00
|
|
|
|
2018-07-25 16:15:19 +00:00
|
|
|
int setup_tests(void)
|
|
|
|
{
|
2016-10-11 08:31:54 +00:00
|
|
|
+#ifndef SYSTEM_CIPHERS_FILE
|
|
|
|
ADD_TEST(test_default_cipherlist_implicit);
|
|
|
|
+#endif
|
|
|
|
ADD_TEST(test_default_cipherlist_explicit);
|
2019-02-28 16:00:02 +00:00
|
|
|
ADD_TEST(test_default_cipherlist_clear);
|
2018-07-25 16:15:19 +00:00
|
|
|
return 1;
|