diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2016-05-14 10:28:49 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2016-05-14 10:35:38 +0200 |
commit | 89faab9e9e9123f39e8c0c6f8da1f67de423254a (patch) | |
tree | e9c1a3256d1b0cfa46ac094976435fec87586603 /lib/gnutls_int.h | |
parent | d5611fdb2d89d32ac4f217058e5b70f61407b907 (diff) | |
download | gnutls-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.h | 5 |
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; |