From: eric Date: Thu, 21 Jan 2021 22:03:25 +0000 (+0000) Subject: when using fake keys, skip the private key check X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=e7e4624867662843f2ac67eb84c9295f214ac586;p=openbsd when using fake keys, skip the private key check ok tb@ --- 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