diff options
author | corvid <devnull@localhost> | 2015-06-29 15:36:46 +0000 |
---|---|---|
committer | corvid <devnull@localhost> | 2015-06-29 15:36:46 +0000 |
commit | 41f2b84001bb63d705c7981492a9637d4d48f5f7 (patch) | |
tree | f7b95cb6c4a8a04e59f62a43c3b432ea1bfe569d /src/IO/tls.h | |
parent | b3b8727a42e89d8702c9702226d1140836f1146e (diff) |
HTTP Strict Transport Security
I'm not including the preload file yet.
Diffstat (limited to 'src/IO/tls.h')
-rw-r--r-- | src/IO/tls.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/IO/tls.h b/src/IO/tls.h index e3892cb2..9bc89de5 100644 --- a/src/IO/tls.h +++ b/src/IO/tls.h @@ -15,6 +15,7 @@ void a_Tls_init(); #ifdef ENABLE_SSL +int a_Tls_certificate_is_clean(const DilloUrl *url); int a_Tls_connect_ready(const DilloUrl *url); void a_Tls_reset_server_state(const DilloUrl *url); @@ -30,6 +31,7 @@ int a_Tls_read(void *conn, void *buf, size_t len); int a_Tls_write(void *conn, void *buf, size_t len); #else +#define a_Tls_certificate_is_clean(host) 0 #define a_Tls_connect_ready(url) TLS_CONNECT_NEVER #define a_Tls_reset_server_state(url) ; #define a_Tls_handshake(fd, url) ; |