aboutsummaryrefslogtreecommitdiff
path: root/lib/ssluse.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-12-09 15:37:54 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-12-09 15:37:54 +0000
commit4bcc866c52d5d5eaae18bda4b2afad8014b23683 (patch)
tree807392a4a1cd99d6d89d5aa6ea0dd27448328287 /lib/ssluse.c
parentc65e088cafb1fe46000270c8e13c31f5dc909ed3 (diff)
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).
Diffstat (limited to 'lib/ssluse.c')
-rw-r--r--lib/ssluse.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/ssluse.c b/lib/ssluse.c
index ea1b69d02..5239cafd4 100644
--- a/lib/ssluse.c
+++ b/lib/ssluse.c
@@ -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;