projects
/
oweals
/
uhttpd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tls: support specifying accepted TLS ciphers
[oweals/uhttpd.git]
/
tls.h
diff --git
a/tls.h
b/tls.h
index 9be74ba85d7007460b19f1a6071b3cb04d33761a..f457cb76f343fbf6aa6e13a3c42e9cd8280422fe 100644
(file)
--- a/
tls.h
+++ b/
tls.h
@@
-22,13
+22,13
@@
#ifdef HAVE_TLS
#ifdef HAVE_TLS
-int uh_tls_init(const char *key, const char *crt);
+int uh_tls_init(const char *key, const char *crt
, const char *ciphers
);
void uh_tls_client_attach(struct client *cl);
void uh_tls_client_detach(struct client *cl);
#else
void uh_tls_client_attach(struct client *cl);
void uh_tls_client_detach(struct client *cl);
#else
-static inline int uh_tls_init(const char *key, const char *crt)
+static inline int uh_tls_init(const char *key, const char *crt
, const char *ciphers
)
{
return -1;
}
{
return -1;
}