summaryrefslogtreecommitdiff
path: root/lib/constate.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2016-05-20 14:54:38 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2016-05-20 14:54:38 +0200
commit369a364007a141c73831e95b60be4cd81eec0d63 (patch)
treecf53ab4952fa42a08ee27ecaa2f4e235ecc95f56 /lib/constate.c
parent1445215a1210df12df28fe0faf48972d0c095857 (diff)
downloadgnutls-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/constate.c')
-rw-r--r--lib/constate.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/constate.c b/lib/constate.c
index 4c4fa3dfc5..16ca0ae791 100644
--- a/lib/constate.c
+++ b/lib/constate.c
@@ -211,7 +211,9 @@ _gnutls_init_record_state(record_parameters_st * params,
params->cipher, &state->key, iv,
params->mac, &state->mac_secret,
params->etm,
+#ifdef ENABLE_SSL3
(ver->id == GNUTLS_SSL3) ? 1 : 0,
+#endif
1 - read /*1==encrypt */ );
if (ret < 0 && params->cipher->id != GNUTLS_CIPHER_NULL)
return gnutls_assert_val(ret);