From 7af6c6e297367d1422ed08fc167a1bd02bd43984 Mon Sep 17 00:00:00 2001 From: mrcsys Date: Tue, 3 Jan 2006 16:29:35 +0000 Subject: WIN32 link does not like to overload functions in a lib, so userverify is commented out now. --- nanohttp/nanohttp-ssl.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'nanohttp') 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) { -- cgit v1.1-32-gdbae