diff --git a/src/crypto/tls_openssl.c b/src/crypto/tls_openssl.c index a4c71dc06..46c4a4613 100644 --- a/src/crypto/tls_openssl.c +++ b/src/crypto/tls_openssl.c @@ -3153,7 +3153,7 @@ static int ocsp_resp_cb(SSL *s, void *arg) if (X509_STORE_add_cert(store, conn->peer_issuer) != 1) { tls_show_errors(MSG_INFO, __func__, - "OpenSSL: Could not add issuer to certificate store\n"); + "OpenSSL: Could not add issuer to certificate store"); } certs = sk_X509_new_null(); if (certs) { @@ -3162,7 +3162,7 @@ static int ocsp_resp_cb(SSL *s, void *arg) if (cert && !sk_X509_push(certs, cert)) { tls_show_errors( MSG_INFO, __func__, - "OpenSSL: Could not add issuer to OCSP responder trust store\n"); + "OpenSSL: Could not add issuer to OCSP responder trust store"); X509_free(cert); sk_X509_free(certs); certs = NULL; @@ -3172,7 +3172,7 @@ static int ocsp_resp_cb(SSL *s, void *arg) if (cert && !sk_X509_push(certs, cert)) { tls_show_errors( MSG_INFO, __func__, - "OpenSSL: Could not add issuer to OCSP responder trust store\n"); + "OpenSSL: Could not add issuer's issuer to OCSP responder trust store"); X509_free(cert); } } diff --git a/src/utils/http_curl.c b/src/utils/http_curl.c index 3a042f932..b38cf796c 100644 --- a/src/utils/http_curl.c +++ b/src/utils/http_curl.c @@ -1084,7 +1084,7 @@ static int ocsp_resp_cb(SSL *s, void *arg) if (X509_STORE_add_cert(store, ctx->peer_issuer) != 1) { tls_show_errors(__func__, - "OpenSSL: Could not add issuer to certificate store\n"); + "OpenSSL: Could not add issuer to certificate store"); } certs = sk_X509_new_null(); if (certs) { @@ -1093,7 +1093,7 @@ static int ocsp_resp_cb(SSL *s, void *arg) if (cert && !sk_X509_push(certs, cert)) { tls_show_errors( __func__, - "OpenSSL: Could not add issuer to OCSP responder trust store\n"); + "OpenSSL: Could not add issuer to OCSP responder trust store"); X509_free(cert); sk_X509_free(certs); certs = NULL; @@ -1103,7 +1103,7 @@ static int ocsp_resp_cb(SSL *s, void *arg) if (cert && !sk_X509_push(certs, cert)) { tls_show_errors( __func__, - "OpenSSL: Could not add issuer to OCSP responder trust store\n"); + "OpenSSL: Could not add issuer's issuer to OCSP responder trust store"); X509_free(cert); } }