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:
parent
10074bfcc6
commit
5980b3cbb0
@ -1698,7 +1698,7 @@ static CURLcode servercert(struct connectdata *conn,
|
|||||||
connssl->server_cert = NULL;
|
connssl->server_cert = NULL;
|
||||||
return CURLE_SSL_ISSUER_ERROR;
|
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 (!issuer) {
|
||||||
if (strict)
|
if (strict)
|
||||||
failf(data, "SSL: Unable to read issuer cert (%s)\n",
|
failf(data, "SSL: Unable to read issuer cert (%s)\n",
|
||||||
|
Loading…
Reference in New Issue
Block a user