tls: support specifying accepted TLS ciphers
[project/uhttpd.git] / tls.h
diff --git a/tls.h b/tls.h
index 9be74ba85d7007460b19f1a6071b3cb04d33761a..f457cb76f343fbf6aa6e13a3c42e9cd8280422fe 100644 (file)
--- a/tls.h
+++ b/tls.h
 
 #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
 
-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;
 }