Oops ... deleted too much in the previous commit when I deleted
[openssl.git] / ssl / s3_srvr.c
index b4b95c3edb20e8bc41d94f0ff52aad3768b63d0b..db0f31e054a8db607663b0173df7d7534afffdc8 100644 (file)
@@ -374,6 +374,7 @@ int ssl3_accept(SSL *s)
 #ifndef OPENSSL_NO_PSK
                            || ((l & SSL_kPSK) && s->ctx->psk_identity_hint)
 #endif
+                           || (l & SSL_DH)
                            || (l & SSL_kEECDH)
                            || ((l & SSL_kRSA)
                                && (s->cert->pkeys[SSL_PKEY_RSA_ENC].privatekey == NULL