summaryrefslogtreecommitdiff
path: root/package/uhttpd/src/uhttpd-tls.h
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-07-18 14:18:31 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-07-18 14:18:31 +0000
commit6576d110d2ce6e01dce282cc64b2aea6521814a9 (patch)
tree628f71deac8a5f6afa3413da4928f1f231fbabe6 /package/uhttpd/src/uhttpd-tls.h
parent75d2ba7a5cc6c4aa8b4b67d56f9cd650d0387be2 (diff)
downloadmtk-20170518-6576d110d2ce6e01dce282cc64b2aea6521814a9.zip
mtk-20170518-6576d110d2ce6e01dce282cc64b2aea6521814a9.tar.gz
mtk-20170518-6576d110d2ce6e01dce282cc64b2aea6521814a9.tar.bz2
uhttpd: support building against openssl instead of cyassl, minor cleanups (#7827)
SVN-Revision: 27686
Diffstat (limited to 'package/uhttpd/src/uhttpd-tls.h')
-rw-r--r--package/uhttpd/src/uhttpd-tls.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/package/uhttpd/src/uhttpd-tls.h b/package/uhttpd/src/uhttpd-tls.h
index 4a98b78..24dfb44 100644
--- a/package/uhttpd/src/uhttpd-tls.h
+++ b/package/uhttpd/src/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
-