diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2016-05-20 14:54:38 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2016-05-20 14:54:38 +0200 |
commit | 369a364007a141c73831e95b60be4cd81eec0d63 (patch) | |
tree | cf53ab4952fa42a08ee27ecaa2f4e235ecc95f56 /lib/range.c | |
parent | 1445215a1210df12df28fe0faf48972d0c095857 (diff) | |
download | gnutls-369a364007a141c73831e95b60be4cd81eec0d63.tar.gz |
Amend: Allow for conditional compilation of SSL 3.0 protocol
This patch makes conditional several more SSL 3.0-only parts of codebase.
Diffstat (limited to 'lib/range.c')
-rw-r--r-- | lib/range.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/range.c b/lib/range.c index a29c3bfee1..c12d98e0d9 100644 --- a/lib/range.c +++ b/lib/range.c @@ -106,8 +106,10 @@ int gnutls_record_can_use_length_hiding(gnutls_session_t session) int ret; record_parameters_st *record_params; +#ifdef ENABLE_SSL3 if (get_num_version(session) == GNUTLS_SSL3) return 0; +#endif ret = _gnutls_epoch_get(session, EPOCH_WRITE_CURRENT, |