summaryrefslogtreecommitdiff
path: root/src/lib/libssl/d1_srvr.c
diff options
context:
space:
mode:
authorjsing <>2014-09-07 12:16:23 +0000
committerjsing <>2014-09-07 12:16:23 +0000
commit0fed0b531b893a421795b86e91da5c89afa84e40 (patch)
tree05653f416e3e348af48f738c0cc7f45d8437ec05 /src/lib/libssl/d1_srvr.c
parent620b0c428295995017c04f2dfbb4d70cb01a3701 (diff)
downloadopenbsd-0fed0b531b893a421795b86e91da5c89afa84e40.tar.gz
openbsd-0fed0b531b893a421795b86e91da5c89afa84e40.tar.bz2
openbsd-0fed0b531b893a421795b86e91da5c89afa84e40.zip
Remove SSL_kDHr, SSL_kDHd and SSL_aDH. No supported ciphersuites use them,
nor do we plan on supporting them. ok guenther@
Diffstat (limited to 'src/lib/libssl/d1_srvr.c')
-rw-r--r--src/lib/libssl/d1_srvr.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/libssl/d1_srvr.c b/src/lib/libssl/d1_srvr.c
index 4532a07da5..051d1e1ccf 100644
--- a/src/lib/libssl/d1_srvr.c
+++ b/src/lib/libssl/d1_srvr.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: d1_srvr.c,v 1.37 2014/08/24 14:36:45 jsing Exp $ */ 1/* $OpenBSD: d1_srvr.c,v 1.38 2014/09/07 12:16:23 jsing Exp $ */
2/* 2/*
3 * DTLS implementation written by Nagendra Modadugu 3 * DTLS implementation written by Nagendra Modadugu
4 * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. 4 * (nagendra@cs.stanford.edu) for the OpenSSL project 2005.
@@ -462,8 +462,7 @@ dtls1_accept(SSL *s)
462 /* only send if a DH key exchange or 462 /* only send if a DH key exchange or
463 * RSA but we have a sign only certificate */ 463 * RSA but we have a sign only certificate */
464 if (s->s3->tmp.use_rsa_tmp 464 if (s->s3->tmp.use_rsa_tmp
465 || (alg_k & (SSL_kDHE|SSL_kDHr|SSL_kDHd)) 465 || (alg_k & (SSL_kDHE|SSL_kECDHE))
466 || (alg_k & SSL_kECDHE)
467 || ((alg_k & SSL_kRSA) 466 || ((alg_k & SSL_kRSA)
468 && (s->cert->pkeys[SSL_PKEY_RSA_ENC].privatekey == NULL 467 && (s->cert->pkeys[SSL_PKEY_RSA_ENC].privatekey == NULL
469 ) 468 )