summaryrefslogtreecommitdiff
path: root/lib/cipher_int.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2016-05-14 10:28:49 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2016-05-14 10:35:38 +0200
commit89faab9e9e9123f39e8c0c6f8da1f67de423254a (patch)
treee9c1a3256d1b0cfa46ac094976435fec87586603 /lib/cipher_int.h
parentd5611fdb2d89d32ac4f217058e5b70f61407b907 (diff)
downloadgnutls-89faab9e9e9123f39e8c0c6f8da1f67de423254a.tar.gz
Allow for conditional compilation of SSL 3.0 protocol
This allows to completely remove SSL 3.0 support by calling configure with the '--disable-ssl3' option. Resolves #93
Diffstat (limited to 'lib/cipher_int.h')
-rw-r--r--lib/cipher_int.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/cipher_int.h b/lib/cipher_int.h
index b2dd763d22..a7415757b5 100644
--- a/lib/cipher_int.h
+++ b/lib/cipher_int.h
@@ -193,7 +193,9 @@ typedef struct {
mac_hd_st mac;
} mac;
unsigned int is_mac:1;
+#ifdef ENABLE_SSL3
unsigned int ssl_hmac:1;
+#endif
unsigned int non_null:1;
unsigned int etm:1;
size_t tag_size;