From 5980b3cbb09c4c06340433041b825cc9bed00eca Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Wed, 11 Jun 2008 15:26:04 +0000 Subject: [PATCH] fix compiler warning: conversion from `pointer to void' to `pointer to int function(pointer to char,int,int,pointer to void)' is compiler dependent --- lib/ssluse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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",