summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorStef Walter <stefw@collabora.co.uk>2011-05-28 18:31:35 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2011-05-28 20:25:25 +0200
commit66dbce6a3a5c0489c1d5986dc29ecbcd13da8bbf (patch)
tree5d110275af3db0cf026a3722fe495da07789ae8f /lib
parent017cc32a177e3cd108dcb78a8facc23ec86e25f5 (diff)
downloadgnutls-66dbce6a3a5c0489c1d5986dc29ecbcd13da8bbf.tar.gz
Fix warnings with GCC 4.5.2
Diffstat (limited to 'lib')
-rw-r--r--lib/nettle/cipher.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/nettle/cipher.c b/lib/nettle/cipher.c
index e4e6d7f075..6e5946130a 100644
--- a/lib/nettle/cipher.c
+++ b/lib/nettle/cipher.c
@@ -144,9 +144,9 @@ struct nettle_cipher_ctx
tag_func tag;
};
+#ifdef NETTLE_GCM
#define GCM_DEFAULT_NONCE_SIZE 12
-#ifdef NETTLE_GCM
static void _gcm_encrypt(void *_ctx, nettle_crypt_func f,
unsigned block_size, uint8_t *iv,
unsigned length, uint8_t *dst,