mirror of
https://github.com/curl/curl.git
synced 2026-08-10 07:10:51 +03:00
The fread() callback pointer and associated pointer is now stored in the
connectdata struct instead, and is no longer modified within the 'set' struct as previously (which was a really BAAAD thing).
This commit is contained in:
parent
c65e088caf
commit
4bcc866c52
6 changed files with 241 additions and 237 deletions
|
|
@ -275,7 +275,8 @@ int cert_stuff(struct connectdata *conn,
|
|||
if (SSL_CTX_use_PrivateKey_file(conn->ssl.ctx,
|
||||
key_file,
|
||||
file_type) != 1) {
|
||||
failf(data, "unable to set private key file\n");
|
||||
failf(data, "unable to set private key file: '%s' type %s\n",
|
||||
key_file, key_type?key_type:"PEM");
|
||||
return 0;
|
||||
}
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue