mirror of
https://github.com/curl/curl.git
synced 2026-08-25 10:53:37 +03:00
fix printf-style format strings
This commit is contained in:
parent
ddab9bd2ec
commit
d65cf7889b
9 changed files with 26 additions and 25 deletions
|
|
@ -483,8 +483,7 @@ int cert_stuff(struct connectdata *conn,
|
|||
return 0;
|
||||
}
|
||||
if (!SSL_CTX_add_client_CA(ctx, sk_X509_value(ca, i))) {
|
||||
failf(data, "cannot add certificate to client CA list",
|
||||
cert_file);
|
||||
failf(data, "cannot add certificate to client CA list");
|
||||
EVP_PKEY_free(pri);
|
||||
X509_free(x509);
|
||||
return 0;
|
||||
|
|
@ -1735,7 +1734,7 @@ ossl_connect_step2(struct connectdata *conn, int sockindex)
|
|||
* the SO_ERROR is also lost.
|
||||
*/
|
||||
if(CURLE_SSL_CONNECT_ERROR == rc && errdetail == 0) {
|
||||
failf(data, "Unknown SSL protocol error in connection to %s:%d ",
|
||||
failf(data, "Unknown SSL protocol error in connection to %s:%ld ",
|
||||
conn->host.name, conn->port);
|
||||
return rc;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue