summaryrefslogtreecommitdiff
path: root/uhttpd-tls.h
diff options
context:
space:
mode:
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-07-18 14:18:31 +0000
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-07-18 14:18:31 +0000
commit899abf342dbbf8fcf124ed0858b96ea50148b02b (patch)
tree05f3660ac90933f9aba6234501da3f5b11aed1e3 /uhttpd-tls.h
parent14589b1ba9103e2d5c2e08e1514690f957a43513 (diff)
downloaduhttpd-899abf342dbbf8fcf124ed0858b96ea50148b02b.tar.gz
[package] uhttpd: support building against openssl instead of cyassl, minor cleanups (#7827)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/package/uhttpd/src@27686 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'uhttpd-tls.h')
-rw-r--r--uhttpd-tls.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/uhttpd-tls.h b/uhttpd-tls.h
index 4a98b78..24dfb44 100644
--- a/uhttpd-tls.h
+++ b/uhttpd-tls.h
@@ -26,10 +26,9 @@ int uh_tls_ctx_cert(SSL_CTX *c, const char *file);
int uh_tls_ctx_key(SSL_CTX *c, const char *file);
void uh_tls_ctx_free(struct listener *l);
-void uh_tls_client_accept(struct client *c);
+int uh_tls_client_accept(struct client *c);
int uh_tls_client_recv(struct client *c, void *buf, int len);
int uh_tls_client_send(struct client *c, void *buf, int len);
void uh_tls_client_close(struct client *c);
#endif
-