From e7e4624867662843f2ac67eb84c9295f214ac586 Mon Sep 17 00:00:00 2001 From: eric Date: Thu, 21 Jan 2021 22:03:25 +0000 Subject: [PATCH] when using fake keys, skip the private key check ok tb@ --- lib/libtls/tls_config.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 * @@ -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 -- 2.20.1