From: Yang Tse Date: Wed, 11 Jun 2008 15:26:04 +0000 (+0000) Subject: fix compiler warning: conversion from `pointer to void' to `pointer to int X-Git-Tag: curl-7_19_0~456 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5980b3cbb09c4c06340433041b825cc9bed00eca;p=thirdparty%2Fcurl.git fix compiler warning: conversion from `pointer to void' to `pointer to int function(pointer to char,int,int,pointer to void)' is compiler dependent --- diff --git a/lib/ssluse.c b/lib/ssluse.c index f57828f881..27e6d4d8d4 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",