summaryrefslogtreecommitdiff
path: root/lib/gnutls_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/gnutls_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/gnutls_int.h')
-rw-r--r--lib/gnutls_int.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/gnutls_int.h b/lib/gnutls_int.h
index 74225378d9..744261ffc2 100644
--- a/lib/gnutls_int.h
+++ b/lib/gnutls_int.h
@@ -490,7 +490,10 @@ typedef struct {
bool extensions; /* whether it supports extensions */
bool selectable_sighash; /* whether signatures can be selected */
bool selectable_prf; /* whether the PRF is ciphersuite-defined */
- bool obsolete; /* Do not use this protocol version as record version */
+
+ /* if SSL3 is disabled this flag indicates that this protocol is a placeholder,
+ * otherwise it prevents this protocol from being set as record version */
+ bool obsolete;
bool false_start; /* That version can be used with false start */
} version_entry_st;