diff options
author | eric <> | 2021-01-21 22:03:25 +0000 |
---|---|---|
committer | eric <> | 2021-01-21 22:03:25 +0000 |
commit | c03d37dd49716682d1a37b81c9af857acf4895cb (patch) | |
tree | 237382d3a5b60a7f2f03589b6575d028c618ab69 /src | |
parent | 8dd2a122c781fe1d8398c844e424affd960f1a08 (diff) | |
download | openbsd-c03d37dd49716682d1a37b81c9af857acf4895cb.tar.gz openbsd-c03d37dd49716682d1a37b81c9af857acf4895cb.tar.bz2 openbsd-c03d37dd49716682d1a37b81c9af857acf4895cb.zip |
when using fake keys, skip the private key check
ok tb@
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libtls/tls_config.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libtls/tls_config.c b/src/lib/libtls/tls_config.c index e3e90aaa00..9144dad952 100644 --- a/src/lib/libtls/tls_config.c +++ b/src/lib/libtls/tls_config.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: tls_config.c,v 1.62 2021/01/21 19:09:10 eric Exp $ */ | 1 | /* $OpenBSD: tls_config.c,v 1.63 2021/01/21 22:03:25 eric Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> |
4 | * | 4 | * |
@@ -811,6 +811,7 @@ void | |||
811 | tls_config_use_fake_private_key(struct tls_config *config) | 811 | tls_config_use_fake_private_key(struct tls_config *config) |
812 | { | 812 | { |
813 | config->use_fake_private_key = 1; | 813 | config->use_fake_private_key = 1; |
814 | config->skip_private_key_check = 1; | ||
814 | } | 815 | } |
815 | 816 | ||
816 | int | 817 | int |