]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Removed unneeded initialization.
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Mon, 7 Feb 2011 21:47:12 +0000 (22:47 +0100)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Mon, 7 Feb 2011 21:47:12 +0000 (22:47 +0100)
lib/nettle/cipher.c

index 93c4e5213e41df03e4ea2e3c40971b1415c91c44..17c2fd79204e963ac4be953414813ecfd959f007 100644 (file)
@@ -364,7 +364,6 @@ struct nettle_cipher_ctx *ctx = _ctx;
           return GNUTLS_E_INVALID_REQUEST;
         }
 
-      ctx->mode_ctx.gcm.gcm.data_size = ctx->mode_ctx.gcm.gcm.auth_size = 0;
       gcm_set_iv(&ctx->mode_ctx.gcm.gcm, GCM_DEFAULT_NONCE_SIZE, iv);
       break;
 #endif