aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-06-11 15:26:04 +0000
committerYang Tse <yangsita@gmail.com>2008-06-11 15:26:04 +0000
commit5980b3cbb09c4c06340433041b825cc9bed00eca (patch)
treed482cb1d880e36df9bbf050e2e881ae6ac7baff6 /lib
parent10074bfcc670ab2f697f1dd9ae9a3922b4e2ea02 (diff)
fix compiler warning: conversion from `pointer to void' to `pointer to int
function(pointer to char,int,int,pointer to void)' is compiler dependent
Diffstat (limited to 'lib')
-rw-r--r--lib/ssluse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssluse.c b/lib/ssluse.c
index f57828f88..27e6d4d8d 100644
--- a/lib/ssluse.c
+++ b/lib/ssluse.c
@@ -1698,7 +1698,7 @@ static CURLcode servercert(struct connectdata *conn,
connssl->server_cert = NULL;
return CURLE_SSL_ISSUER_ERROR;
}
- issuer = PEM_read_X509(fp,NULL,NULL,NULL);
+ issuer = PEM_read_X509(fp,NULL,ZERO_NULL,NULL);
if (!issuer) {
if (strict)
failf(data, "SSL: Unable to read issuer cert (%s)\n",