1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 16:18:48 -05:00

fix compiler warning: conversion from pointer to void' to pointer to int

function(pointer to char,int,int,pointer to void)' is compiler dependent
This commit is contained in:
Yang Tse 2008-06-11 15:26:04 +00:00
parent 10074bfcc6
commit 5980b3cbb0

View File

@ -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",