summaryrefslogtreecommitdiffstats
path: root/nanohttp/nanohttp-ssl.h
diff options
context:
space:
mode:
authorGravatar mrcsys2006-04-13 20:00:32 +0000
committerGravatar mrcsys2006-04-13 20:00:32 +0000
commit404c9eac88a1c493e92a9020ae6add6610417875 (patch)
tree76321738384ee44218eb4d3c6d5da6a7aebb5423 /nanohttp/nanohttp-ssl.h
parent16354540e65f6cd891974e6f57a5d2454f4bec1c (diff)
downloadcsoap-404c9eac88a1c493e92a9020ae6add6610417875.tar.gz
csoap-404c9eac88a1c493e92a9020ae6add6610417875.tar.bz2
SSL code updated to aways have a user verify function.
added set_user_verify so that you can implement your own
Diffstat (limited to 'nanohttp/nanohttp-ssl.h')
-rw-r--r--nanohttp/nanohttp-ssl.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/nanohttp/nanohttp-ssl.h b/nanohttp/nanohttp-ssl.h
index 5e732c2..82758d0 100644
--- a/nanohttp/nanohttp-ssl.h
+++ b/nanohttp/nanohttp-ssl.h
@@ -1,5 +1,5 @@
/******************************************************************
-* $Id: nanohttp-ssl.h,v 1.13 2006/03/27 12:53:19 m0gg Exp $
+* $Id: nanohttp-ssl.h,v 1.14 2006/04/13 20:00:32 mrcsys Exp $
*
* CSOAP Project: A http client/server library in C
* Copyright (C) 2001-2005 Rochester Institute of Technology
@@ -81,8 +81,9 @@ int verify_sn(X509 * cert, int who, int nid, char *str);
/*
* This function MUST be implemented by user client/server code somewhere
*/
+void set_user_verify( int func(X509 * cert) );
-int user_verify(X509 * cert);
+static int simple_user_verify(X509 * cert);
#ifdef __cplusplus
}