]> granicus.if.org Git - curl/commitdiff
cyassl: remove undefined reference to CyaSSL_no_filesystem_verify
authorKyle L. Huff <code@curetheitch.com>
Fri, 27 Mar 2015 00:43:22 +0000 (20:43 -0400)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 27 Mar 2015 22:31:12 +0000 (23:31 +0100)
CyaSSL_no_filesystem_verify is not (or no longer) defined by cURL or
CyaSSL. This reference causes build errors when compiling with
NO_FILESYSTEM.

lib/vtls/cyassl.c

index 5ba279e5b082d6f1353ed48700c737b0930cb6ef..32a4477cb2c78b4061c626e8fede38ef49f7dc62 100644 (file)
@@ -191,10 +191,6 @@ cyassl_connect_step1(struct connectdata *conn,
       return CURLE_SSL_CONNECT_ERROR;
     }
   }
-#else
-  if(CyaSSL_no_filesystem_verify(conssl->ctx)!= SSL_SUCCESS) {
-    return CURLE_SSL_CONNECT_ERROR;
-  }
 #endif /* NO_FILESYSTEM */
 
   /* SSL always tries to verify the peer, this only says whether it should