X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=contrib%2Fpackage%2Fuhttpd%2Fsrc%2Fuhttpd-tls.h;fp=contrib%2Fpackage%2Fuhttpd%2Fsrc%2Fuhttpd-tls.h;h=4a98b78c69c079350d448086507b656b1d35ae0d;hb=af4611d4e02c8a5b0c72cae08c1d944528d63787;hp=2de2d26d81816ab3640eefb751cf14a9d875ad56;hpb=a6722be769be20d3e06d0ca77eac1bd3af6f9593;p=project%2Fluci.git diff --git a/contrib/package/uhttpd/src/uhttpd-tls.h b/contrib/package/uhttpd/src/uhttpd-tls.h index 2de2d26d8..4a98b78c6 100644 --- a/contrib/package/uhttpd/src/uhttpd-tls.h +++ b/contrib/package/uhttpd/src/uhttpd-tls.h @@ -22,9 +22,13 @@ SSL_CTX * uh_tls_ctx_init(); - +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_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