summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar snowdrop2006-01-06 16:15:24 +0000
committerGravatar snowdrop2006-01-06 16:15:24 +0000
commit4c74e76d51dfa55ec0cb1fa35060a256c1af1874 (patch)
tree5f7cf82120b37d0354b51927bbb5e94571dc8b23
parent31cacddba959e4b31f6f28cfb2b419e6f803d036 (diff)
downloadcsoap-4c74e76d51dfa55ec0cb1fa35060a256c1af1874.tar.gz
csoap-4c74e76d51dfa55ec0cb1fa35060a256c1af1874.tar.bz2
wrapped call to verify_user() by ifdef ifdef
-rw-r--r--nanohttp/nanohttp-ssl.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/nanohttp/nanohttp-ssl.c b/nanohttp/nanohttp-ssl.c
index 93dcb6a..766ac98 100644
--- a/nanohttp/nanohttp-ssl.c
+++ b/nanohttp/nanohttp-ssl.c
@@ -126,12 +126,16 @@ static int verify_cb(int prev_ok, X509_STORE_CTX* ctx)
return 1;
}
*/
+#ifdef NOUSER_VERIFY /* ifdef's added by Ferhat. because of unresolved reference while compiling */
if(depth == 0) {
return user_verify(cert);
} else {
+#endif
log_verbose1( "Cert ok (prev)" );
return prev_ok;
+#ifdef NOUSER_VERIFY
}
+#endif
}
#ifdef NOUSER_VERIFY