summaryrefslogtreecommitdiff
path: root/sslutils.h
diff options
context:
space:
mode:
authorCedric Cellier <rixed@happyleptic.org>2018-05-30 09:18:45 +0200
committerCedric Cellier <rixed@happyleptic.org>2018-09-13 08:26:46 +0200
commit0f0a435cd7f240ac3641fa02881e665922cb095a (patch)
treefb016c4f7ff187b0a0052d2e3407e26014608548 /sslutils.h
parent9ba5495a8a6c63debb66eee82c153dbf02226c90 (diff)
downloadlibpcap-0f0a435cd7f240ac3641fa02881e665922cb095a.tar.gz
Enable SSL compression (with -C)
Cert file option changed from -C <file> to -X <file> (X as in X.509)
Diffstat (limited to 'sslutils.h')
-rw-r--r--sslutils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sslutils.h b/sslutils.h
index 457c9214..41a243e3 100644
--- a/sslutils.h
+++ b/sslutils.h
@@ -54,7 +54,7 @@ extern char ssl_rootfile[PATH_MAX];
* Utility functions
*/
-void init_ssl_or_die(int is_server);
+void init_ssl_or_die(int is_server, int enable_compression);
SSL *ssl_promotion(int is_server, SOCKET s, char *errbuf, size_t errbuflen);
SSL *ssl_promotion_rw(int is_server, SOCKET in, SOCKET out, char *errbuf, size_t errbuflen);
int ssl_send(SSL *, char const *buffer, size_t size, char *errbuf, size_t errbuflen);