From: Kyle L. Huff Date: Fri, 27 Mar 2015 00:43:22 +0000 (-0400) Subject: cyassl: remove undefined reference to CyaSSL_no_filesystem_verify X-Git-Tag: curl-7_42_0~72 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=211f1e3c6bf708e8809f10680d9d3a216d8a14b7;p=thirdparty%2Fcurl.git cyassl: remove undefined reference to CyaSSL_no_filesystem_verify CyaSSL_no_filesystem_verify is not (or no longer) defined by cURL or CyaSSL. This reference causes build errors when compiling with NO_FILESYSTEM. --- diff --git a/lib/vtls/cyassl.c b/lib/vtls/cyassl.c index 5ba279e5b0..32a4477cb2 100644 --- a/lib/vtls/cyassl.c +++ b/lib/vtls/cyassl.c @@ -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