summaryrefslogtreecommitdiff
path: root/lib/cipher-cbc.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/cipher-cbc.c')
-rw-r--r--lib/cipher-cbc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/cipher-cbc.c b/lib/cipher-cbc.c
index 22b9390596..741119223b 100644
--- a/lib/cipher-cbc.c
+++ b/lib/cipher-cbc.c
@@ -84,7 +84,9 @@ int cbc_mac_verify(gnutls_session_t session, record_parameters_st *params,
const uint8_t *tag_ptr = NULL;
unsigned preamble_size;
uint8_t tag[MAX_HASH_SIZE];
+#ifdef ENABLE_SSL3
unsigned blocksize = _gnutls_cipher_get_block_size(params->cipher);
+#endif
pad = data[data_size - 1]; /* pad */