mirror of
https://github.com/curl/curl.git
synced 2024-11-21 01:16:58 +08: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:
parent
10074bfcc6
commit
5980b3cbb0
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user