summaryrefslogtreecommitdiffstats
path: root/lib/libssl/ssl_lib.c
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2017-08-11 21:06:52 +0000
committerjsing <jsing@openbsd.org>2017-08-11 21:06:52 +0000
commitc80119d063ca17e64389da8ff58347cfe44fe492 (patch)
treeb388e1834f6172763847733de6f28ea7bc07c0ac /lib/libssl/ssl_lib.c
parentstyle(9) in ssl_set_cert_masks(). (diff)
downloadwireguard-openbsd-c80119d063ca17e64389da8ff58347cfe44fe492.tar.xz
wireguard-openbsd-c80119d063ca17e64389da8ff58347cfe44fe492.zip
I don't think eay will ever fix this...
Diffstat (limited to 'lib/libssl/ssl_lib.c')
-rw-r--r--lib/libssl/ssl_lib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libssl/ssl_lib.c b/lib/libssl/ssl_lib.c
index 8ca2c8d783c..6e555898ad5 100644
--- a/lib/libssl/ssl_lib.c
+++ b/lib/libssl/ssl_lib.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssl_lib.c,v 1.164 2017/08/11 21:06:17 jsing Exp $ */
+/* $OpenBSD: ssl_lib.c,v 1.165 2017/08/11 21:06:52 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -2059,9 +2059,9 @@ ssl_set_cert_masks(CERT *c, const SSL_CIPHER *cipher)
rsa_sign = (cpk->x509 != NULL && cpk->privatekey != NULL);
cpk = &(c->pkeys[SSL_PKEY_DSA_SIGN]);
dsa_sign = (cpk->x509 != NULL && cpk->privatekey != NULL);
-/* FIX THIS EAY EAY EAY */
cpk = &(c->pkeys[SSL_PKEY_ECC]);
have_ecc_cert = (cpk->x509 != NULL && cpk->privatekey != NULL);
+
mask_k = 0;
mask_a = 0;