mirror of
https://github.com/monero-project/monero.git
synced 2026-07-28 22:51:07 -07:00
epee: fix build with openssl 4.0
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