diff options
author | eric <eric@openbsd.org> | 2021-01-21 22:03:25 +0000 |
---|---|---|
committer | eric <eric@openbsd.org> | 2021-01-21 22:03:25 +0000 |
commit | e7e4624867662843f2ac67eb84c9295f214ac586 (patch) | |
tree | 6ca5ec96a1887977a2a0242a11c23b8bb5d500ef /lib/libtls | |
parent | return -1 on error for consistency (diff) | |
download | wireguard-openbsd-e7e4624867662843f2ac67eb84c9295f214ac586.tar.xz wireguard-openbsd-e7e4624867662843f2ac67eb84c9295f214ac586.zip |
when using fake keys, skip the private key check
ok tb@
Diffstat (limited to 'lib/libtls')
-rw-r--r-- | lib/libtls/tls_config.c | 3 |
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 |