mirror of
https://github.com/moparisthebest/curl
synced 2024-08-13 17:03:50 -04:00
darwinssl: added LFs to some strings passed into infof()
(This doesn't need to appear in the release notes.) I noticed a few places where infof() was called, and there should've been an LF at the end of the string, but there wasn't.
This commit is contained in:
parent
537ffc4c69
commit
9dedcbf9ec
@ -983,7 +983,7 @@ static CURLcode darwinssl_connect_step1(struct connectdata *conn,
|
|||||||
|
|
||||||
if(data->set.str[STRING_KEY]) {
|
if(data->set.str[STRING_KEY]) {
|
||||||
infof(data, "WARNING: SSL: CURLOPT_SSLKEY is ignored by Secure "
|
infof(data, "WARNING: SSL: CURLOPT_SSLKEY is ignored by Secure "
|
||||||
"Transport. The private key must be in the Keychain.");
|
"Transport. The private key must be in the Keychain.\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
if(data->set.str[STRING_CERT]) {
|
if(data->set.str[STRING_CERT]) {
|
||||||
@ -1089,7 +1089,7 @@ static CURLcode darwinssl_connect_step1(struct connectdata *conn,
|
|||||||
err = SSLSetPeerDomainName(connssl->ssl_ctx, conn->host.name,
|
err = SSLSetPeerDomainName(connssl->ssl_ctx, conn->host.name,
|
||||||
strlen(conn->host.name));
|
strlen(conn->host.name));
|
||||||
if(err != noErr) {
|
if(err != noErr) {
|
||||||
infof(data, "WARNING: SSL: SSLSetPeerDomainName() failed: OSStatus %d",
|
infof(data, "WARNING: SSL: SSLSetPeerDomainName() failed: OSStatus %d\n",
|
||||||
err);
|
err);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user