diff options
Diffstat (limited to 'nanohttp')
-rw-r--r-- | nanohttp/nanohttp-ssl.c | 4 | ||||
-rw-r--r-- | nanohttp/nanohttp-ssl.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/nanohttp/nanohttp-ssl.c b/nanohttp/nanohttp-ssl.c index 9c6f19b..3acb3c8 100644 --- a/nanohttp/nanohttp-ssl.c +++ b/nanohttp/nanohttp-ssl.c @@ -1,5 +1,5 @@ /****************************************************************** -* $Id: nanohttp-ssl.c,v 1.22 2006/04/13 20:00:32 mrcsys Exp $ +* $Id: nanohttp-ssl.c,v 1.23 2006/04/14 14:44:40 mrcsys Exp $ * * CSOAP Project: A http client/server library in C * Copyright (C) 2001-2005 Rochester Institute of Technology @@ -170,7 +170,7 @@ verify_sn (X509 * cert, int who, int nid, char *str) } void -set_user_verify( int func(X509 * cert) ){ +hssl_set_user_verify( int func(X509 * cert) ){ user_verify = func; } diff --git a/nanohttp/nanohttp-ssl.h b/nanohttp/nanohttp-ssl.h index 82758d0..86b61cd 100644 --- a/nanohttp/nanohttp-ssl.h +++ b/nanohttp/nanohttp-ssl.h @@ -1,5 +1,5 @@ /****************************************************************** -* $Id: nanohttp-ssl.h,v 1.14 2006/04/13 20:00:32 mrcsys Exp $ +* $Id: nanohttp-ssl.h,v 1.15 2006/04/14 14:44:40 mrcsys Exp $ * * CSOAP Project: A http client/server library in C * Copyright (C) 2001-2005 Rochester Institute of Technology @@ -81,7 +81,7 @@ 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) ); +void hssl_set_user_verify( int func(X509 * cert) ); static int simple_user_verify(X509 * cert); |