From ff2bb3c2a567b26eec9e698ced3830fe2e261479 Mon Sep 17 00:00:00 2001
From: kylehuff <kyle.huff@curetheitch.com>
Date: Sun, 22 Feb 2015 11:20:38 -0500
Subject: [PATCH 1/2] 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 39af1c0..5a7ccbf 100644
--- a/lib/vtls/cyassl.c
+++ b/lib/vtls/cyassl.c
@@ -188,10 +188,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

