diff options
Diffstat (limited to 'tls_compat.h')
| -rw-r--r-- | tls_compat.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tls_compat.h b/tls_compat.h index 3283fa4..2086a29 100644 --- a/tls_compat.h +++ b/tls_compat.h @@ -48,6 +48,7 @@ tls_t tls_client(void); int tls_configure(tls_t ctx, tls_config_t config); int tls_connect_socket(tls_t ctx, int s, const char *servername); int tls_handshake(tls_t ctx); +int tls_verify_hostname(tls_t ctx, const char *hostname); int tls_read(tls_t ctx, void *buf, size_t buflen); int tls_write(tls_t ctx, const void *buf, size_t buflen); int tls_close(tls_t ctx); |