mirror of
https://github.com/monero-project/monero.git
synced 2024-12-23 03:59:33 +00:00
epee: avoid spamming 'Generating SSL certificate' in the logs
This commit is contained in:
parent
4764d18eeb
commit
0dbdba876e
1 changed files with 2 additions and 2 deletions
|
@ -128,7 +128,7 @@ namespace net_utils
|
||||||
// https://stackoverflow.com/questions/256405/programmatically-create-x509-certificate-using-openssl
|
// https://stackoverflow.com/questions/256405/programmatically-create-x509-certificate-using-openssl
|
||||||
bool create_rsa_ssl_certificate(EVP_PKEY *&pkey, X509 *&cert)
|
bool create_rsa_ssl_certificate(EVP_PKEY *&pkey, X509 *&cert)
|
||||||
{
|
{
|
||||||
MGINFO("Generating SSL certificate");
|
MINFO("Generating SSL certificate");
|
||||||
pkey = EVP_PKEY_new();
|
pkey = EVP_PKEY_new();
|
||||||
if (!pkey)
|
if (!pkey)
|
||||||
{
|
{
|
||||||
|
@ -198,7 +198,7 @@ bool create_rsa_ssl_certificate(EVP_PKEY *&pkey, X509 *&cert)
|
||||||
|
|
||||||
bool create_ec_ssl_certificate(EVP_PKEY *&pkey, X509 *&cert, int type)
|
bool create_ec_ssl_certificate(EVP_PKEY *&pkey, X509 *&cert, int type)
|
||||||
{
|
{
|
||||||
MGINFO("Generating SSL certificate");
|
MINFO("Generating SSL certificate");
|
||||||
pkey = EVP_PKEY_new();
|
pkey = EVP_PKEY_new();
|
||||||
if (!pkey)
|
if (!pkey)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue