summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorjsing <>2017-08-11 21:06:52 +0000
committerjsing <>2017-08-11 21:06:52 +0000
commit0b77b729aa474fa63f0adc7c514f5b240bfff8e9 (patch)
tree46b215450925b0c4754ed64ba4432c2acf99b002 /src/lib
parent7c02ed32bdc66fe9482ae00192a6df2ad826d6f4 (diff)
downloadopenbsd-0b77b729aa474fa63f0adc7c514f5b240bfff8e9.tar.gz
openbsd-0b77b729aa474fa63f0adc7c514f5b240bfff8e9.tar.bz2
openbsd-0b77b729aa474fa63f0adc7c514f5b240bfff8e9.zip
I don't think eay will ever fix this...
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libssl/ssl_lib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libssl/ssl_lib.c b/src/lib/libssl/ssl_lib.c
index 8ca2c8d783..6e555898ad 100644
--- a/src/lib/libssl/ssl_lib.c
+++ b/src/lib/libssl/ssl_lib.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl_lib.c,v 1.164 2017/08/11 21:06:17 jsing Exp $ */ 1/* $OpenBSD: ssl_lib.c,v 1.165 2017/08/11 21:06:52 jsing Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -2059,9 +2059,9 @@ ssl_set_cert_masks(CERT *c, const SSL_CIPHER *cipher)
2059 rsa_sign = (cpk->x509 != NULL && cpk->privatekey != NULL); 2059 rsa_sign = (cpk->x509 != NULL && cpk->privatekey != NULL);
2060 cpk = &(c->pkeys[SSL_PKEY_DSA_SIGN]); 2060 cpk = &(c->pkeys[SSL_PKEY_DSA_SIGN]);
2061 dsa_sign = (cpk->x509 != NULL && cpk->privatekey != NULL); 2061 dsa_sign = (cpk->x509 != NULL && cpk->privatekey != NULL);
2062/* FIX THIS EAY EAY EAY */
2063 cpk = &(c->pkeys[SSL_PKEY_ECC]); 2062 cpk = &(c->pkeys[SSL_PKEY_ECC]);
2064 have_ecc_cert = (cpk->x509 != NULL && cpk->privatekey != NULL); 2063 have_ecc_cert = (cpk->x509 != NULL && cpk->privatekey != NULL);
2064
2065 mask_k = 0; 2065 mask_k = 0;
2066 mask_a = 0; 2066 mask_a = 0;
2067 2067