Commit 9dedcbf9 authored by Nick Zitzmann's avatar Nick Zitzmann
Browse files

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.
parent 537ffc4c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -983,7 +983,7 @@ static CURLcode darwinssl_connect_step1(struct connectdata *conn,

  if(data->set.str[STRING_KEY]) {
    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]) {
@@ -1089,7 +1089,7 @@ static CURLcode darwinssl_connect_step1(struct connectdata *conn,
    err = SSLSetPeerDomainName(connssl->ssl_ctx, conn->host.name,
                               strlen(conn->host.name));
    if(err != noErr) {
      infof(data, "WARNING: SSL: SSLSetPeerDomainName() failed: OSStatus %d",
      infof(data, "WARNING: SSL: SSLSetPeerDomainName() failed: OSStatus %d\n",
            err);
    }
  }