From 6e67d365223d240ea7fd0f5bfbc365b26845bb9a Mon Sep 17 00:00:00 2001
From: kylehuff <code@curetheitch.com>
Date: Thu, 26 Mar 2015 20:43:22 -0400
Subject: [PATCH] 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.
---
 lib/vtls/cyassl.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/lib/vtls/cyassl.c b/lib/vtls/cyassl.c
index 5ba279e..32a4477 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
-- 
1.9.1

