From 0dd0ee49446c28f754f86795d566a90a64e1bcc3 Mon Sep 17 00:00:00 2001 From: jow Date: Mon, 18 Jul 2011 14:18:31 +0000 Subject: [package] uhttpd: support building against openssl instead of cyassl, minor cleanups (#7827) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27686 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/uhttpd/src/uhttpd.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'package/uhttpd/src/uhttpd.h') diff --git a/package/uhttpd/src/uhttpd.h b/package/uhttpd/src/uhttpd.h index ff058d62b..993bf93af 100644 --- a/package/uhttpd/src/uhttpd.h +++ b/package/uhttpd/src/uhttpd.h @@ -98,7 +98,7 @@ struct config { int (*tls_cert) (SSL_CTX *c, const char *file); int (*tls_key) (SSL_CTX *c, const char *file); void (*tls_free) (struct listener *l); - void (*tls_accept) (struct client *c); + int (*tls_accept) (struct client *c); void (*tls_close) (struct client *c); int (*tls_recv) (struct client *c, void *buf, int len); int (*tls_send) (struct client *c, void *buf, int len); @@ -159,4 +159,3 @@ struct interpreter { #endif #endif - -- cgit v1.2.3