diff options
author | m0gg | 2006-05-15 06:40:47 +0000 |
---|---|---|
committer | m0gg | 2006-05-15 06:40:47 +0000 |
commit | 5af10db8fa81b0f74905ae1302aafe43221e4d27 (patch) | |
tree | d676fedf0b5fe67336ab257928cd6b1b46d1cb64 /nanohttp/nanohttp-ssl.h | |
parent | 45b1ba7ceeb4aa71a9adf4850ff5da8c575c2e33 (diff) | |
download | csoap-5af10db8fa81b0f74905ae1302aafe43221e4d27.tar.gz csoap-5af10db8fa81b0f74905ae1302aafe43221e4d27.tar.bz2 |
Code cleanup
Diffstat (limited to 'nanohttp/nanohttp-ssl.h')
-rw-r--r-- | nanohttp/nanohttp-ssl.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/nanohttp/nanohttp-ssl.h b/nanohttp/nanohttp-ssl.h index 7559c8b..12f3fcf 100644 --- a/nanohttp/nanohttp-ssl.h +++ b/nanohttp/nanohttp-ssl.h @@ -1,5 +1,5 @@ /****************************************************************** -* $Id: nanohttp-ssl.h,v 1.17 2006/04/26 17:48:30 mrcsys Exp $ +* $Id: nanohttp-ssl.h,v 1.18 2006/05/15 06:40:47 m0gg Exp $ * * CSOAP Project: A http client/server library in C * Copyright (C) 2001-2005 Rochester Institute of Technology @@ -84,13 +84,8 @@ extern "C" /* static int verify_cb(int prev_ok, X509_STORE_CTX* ctx); */ -/* - * This function MUST be implemented by user client/server code somewhere - */ void hssl_set_user_verify(int func(X509 * cert)); - static int _hssl_dummy_verify_cert(X509 * cert); - #ifdef __cplusplus } #endif @@ -119,6 +114,7 @@ hssl_client_ssl(hsocket_t * sock) { return H_OK; } + static inline herror_t hssl_server_ssl(hsocket_t * sock) { @@ -137,7 +133,7 @@ hssl_cleanup(hsocket_t * sock) extern "C" { #endif - long hssl_bio_read(BIO * b, char *out, int outl); + herror_t hssl_read(hsocket_t * sock, char *buf, size_t len, size_t * received); herror_t hssl_write(hsocket_t * sock, const char *buf, size_t len, |