diff options
Diffstat (limited to 'src/lib/libssl/d1_srvr.c')
-rw-r--r-- | src/lib/libssl/d1_srvr.c | 5 |
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 | ) |