curl-library
[PATCH 1/2] cyassl: remove undefined reference to CyaSSL_no_filesystem_verify
From: kylehuff <code_at_curetheitch.com>
Date: Fri, 27 Mar 2015 18:42:50 -0400
Date: Fri, 27 Mar 2015 18:42:50 -0400
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 | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/vtls/cyassl.c b/lib/vtls/cyassl.c index 5ba279e..285d64a 100644 --- a/lib/vtls/cyassl.c +++ b/lib/vtls/cyassl.c @@ -191,11 +191,7 @@ 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 */ +#endif /* !NO_FILESYSTEM */ /* SSL always tries to verify the peer, this only says whether it should * fail to connect if the verification fails, or if it should continue -- 1.9.5.msysgit.0 --------------090406070007040805070306 Content-Type: text/plain; charset=windows-1252; name="0002-cyassl-add-SSL-context-callback-support-for-CyaSSL.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename*0="0002-cyassl-add-SSL-context-callback-support-for-CyaSSL.patc"; filename*1="h"Received on 2001-09-17