mirror of
https://github.com/wownero/wownero.git
synced 2026-10-17 07:31:35 +02:00
epee: fix build with openssl 4.0
(cherry picked from commit 0b67da411a5c0baf2f0631b311a3ec71467da1bc)
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user