summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEric Faurot <eric@cvs.openbsd.org>2021-01-21 22:03:26 +0000
committerEric Faurot <eric@cvs.openbsd.org>2021-01-21 22:03:26 +0000
commit4ee16b98d7957af264d2168ac83109e9d6506cfe (patch)
tree8d3fa288608745a954a95874679e4d741343f9c0 /lib
parentf990c129379357715ca94fa31b38dc17fb5f70d6 (diff)
when using fake keys, skip the private key check
ok tb@
Diffstat (limited to 'lib')
-rw-r--r--lib/libtls/tls_config.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libtls/tls_config.c b/lib/libtls/tls_config.c
index e3e90aaa007..9144dad9520 100644
--- a/lib/libtls/tls_config.c
+++ b/lib/libtls/tls_config.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tls_config.c,v 1.62 2021/01/21 19:09:10 eric Exp $ */
+/* $OpenBSD: tls_config.c,v 1.63 2021/01/21 22:03:25 eric Exp $ */
/*
* Copyright (c) 2014 Joel Sing <jsing@openbsd.org>
*
@@ -811,6 +811,7 @@ void
tls_config_use_fake_private_key(struct tls_config *config)
{
config->use_fake_private_key = 1;
+ config->skip_private_key_check = 1;
}
int