correct CHANGES
[openssl.git] / ssl / s3_both.c
index 11a9998c59fd8f4f9c45e028fa77b1b577c8cf4b..349531460d39f54da0e9474d913ac70370df9d7f 100644 (file)
@@ -524,7 +524,7 @@ int ssl_cert_type(X509 *x, EVP_PKEY *pkey)
                {
                ret = SSL_PKEY_GOST01;
                }
-       else if (x && i == EVP_PKEY_DH)
+       else if (x && (i == EVP_PKEY_DH || i == EVP_PKEY_DHX))
                {
                /* For DH two cases: DH certificate signed with RSA and
                 * DH certificate signed with DSA.