epee: fix build with openssl 4.0

This commit is contained in:
weifanglab
2026-07-24 11:42:24 -04:00
committed by jpk68
parent 682098a522
commit 0b67da411a
+1 -2
View File
@@ -197,8 +197,7 @@ bool create_rsa_ssl_certificate(EVP_PKEY *&pkey, X509 *&cert)
X509_free(cert);
return false;
}
X509_NAME *name = X509_get_subject_name(cert);
X509_set_issuer_name(cert, name);
X509_set_issuer_name(cert, X509_get_subject_name(cert));
if (X509_sign(cert, pkey, EVP_sha256()) == 0)
{