]> granicus.if.org Git - curl/commitdiff
fix compiler warning: conversion from `pointer to void' to `pointer to int
authorYang Tse <yangsita@gmail.com>
Wed, 11 Jun 2008 15:26:04 +0000 (15:26 +0000)
committerYang Tse <yangsita@gmail.com>
Wed, 11 Jun 2008 15:26:04 +0000 (15:26 +0000)
function(pointer to char,int,int,pointer to void)' is compiler dependent

lib/ssluse.c

index f57828f881bc908949af96739b4fb8c31f991dc5..27e6d4d8d493140a9d1400a5e1bb287efa7fd569 100644 (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",