]> granicus.if.org Git - curl/commitdiff
fixed to build fine without ssl
authorDaniel Stenberg <daniel@haxx.se>
Wed, 8 Oct 2003 13:06:50 +0000 (13:06 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 8 Oct 2003 13:06:50 +0000 (13:06 +0000)
lib/ssluse.c

index 8b04ccf1ff283301b9260fc818613a73c59e7f0f..4edb72072c3c158fe7fc5aab80f1b28dcec5b075 100644 (file)
@@ -743,7 +743,6 @@ cert_hostcheck(const char *certname, const char *hostname)
   }
   return 0;
 }
-#endif
 
 static CURLcode verifyhost(struct connectdata *conn)
 {
@@ -886,6 +885,7 @@ static CURLcode verifyhost(struct connectdata *conn)
 
   return CURLE_OK;
 }
+#endif
 
 /* ====================================================== */
 CURLcode