From: Stef Walter Date: Sat, 28 May 2011 16:31:35 +0000 (+0200) Subject: Fix warnings with GCC 4.5.2 X-Git-Tag: gnutls_2_99_3~90 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=66dbce6a3a5c0489c1d5986dc29ecbcd13da8bbf;p=thirdparty%2Fgnutls.git Fix warnings with GCC 4.5.2 --- 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,