summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/vtls/nss.c2
-rw-r--r--lib/vtls/openssl.c2
-rw-r--r--lib/vtls/wolfssl.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/vtls/nss.c b/lib/vtls/nss.c
index c9cc2fd09..1897b9ab1 100644
--- a/lib/vtls/nss.c
+++ b/lib/vtls/nss.c
@@ -955,7 +955,7 @@ static void display_cert_info(struct Curl_easy *data,
subject = CERT_NameToAscii(&cert->subject);
issuer = CERT_NameToAscii(&cert->issuer);
common_name = CERT_GetCommonName(&cert->subject);
- infof(data, "subject: %s\n", subject);
+ infof(data, "subject: %s", subject);
CERT_GetCertTimes(cert, &notBefore, &notAfter);
PR_ExplodeTime(notBefore, PR_GMTParameters, &printableTime);
diff --git a/lib/vtls/openssl.c b/lib/vtls/openssl.c
index 03cc028b1..66d714d77 100644
--- a/lib/vtls/openssl.c
+++ b/lib/vtls/openssl.c
@@ -2950,7 +2950,7 @@ static CURLcode ossl_connect_step1(struct Curl_easy *data,
NULL, cert_name, sizeof(cert_name))) {
strcpy(cert_name, "Unknown");
}
- infof(data, "SSL: Checking cert %s\"\n", cert_name);
+ infof(data, "SSL: Checking cert \"%s\"", cert_name);
#endif
encoded_cert = (const unsigned char *)pContext->pbCertEncoded;
diff --git a/lib/vtls/wolfssl.c b/lib/vtls/wolfssl.c
index 10ad08c44..8c5b9157b 100644
--- a/lib/vtls/wolfssl.c
+++ b/lib/vtls/wolfssl.c
@@ -564,7 +564,7 @@ wolfssl_connect_step1(struct Curl_easy *data, struct connectdata *conn,
/* we got a session id, use it! */
if(!SSL_set_session(backend->handle, ssl_sessionid)) {
Curl_ssl_delsessionid(data, ssl_sessionid);
- infof(data, "Can't use session ID, going on without\n");
+ infof(data, "Can't use session ID, going on without");
}
else
infof(data, "SSL re-using session ID");