summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar mrcsys2006-01-03 16:29:35 +0000
committerGravatar mrcsys2006-01-03 16:29:35 +0000
commit7af6c6e297367d1422ed08fc167a1bd02bd43984 (patch)
tree7665e8623ae522721c100f922a95fa5103ab7bd2
parenta04f9f3ed939352494758a14d1978428c1bf2050 (diff)
downloadcsoap-7af6c6e297367d1422ed08fc167a1bd02bd43984.tar.gz
csoap-7af6c6e297367d1422ed08fc167a1bd02bd43984.tar.bz2
WIN32 link does not like to overload functions in a lib, so userverify is commented out now.
-rw-r--r--nanohttp/nanohttp-ssl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/nanohttp/nanohttp-ssl.c b/nanohttp/nanohttp-ssl.c
index 47f7697..8921585 100644
--- a/nanohttp/nanohttp-ssl.c
+++ b/nanohttp/nanohttp-ssl.c
@@ -130,6 +130,7 @@ static int verify_cb(int prev_ok, X509_STORE_CTX* ctx)
}
}
+#ifdef NOUSER_VERIFY
int user_verify(X509* cert)
{
//TODO: Make sure that the client is providing a client cert,
@@ -138,6 +139,7 @@ int user_verify(X509* cert)
log_verbose1("Validating certificate.");
return 1;
}
+#endif
SSL_CTX *initialize_ctx(char* keyfile, char* password, char* calist)
{