From: Nikos Mavrogiannopoulos Date: Sat, 14 Dec 2013 18:33:34 +0000 (+0100) Subject: addressed warning X-Git-Tag: gnutls_3_3_0pre0~456 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01fa33a888bd6314dc5f959694e562be2d44a5eb;p=thirdparty%2Fgnutls.git addressed warning --- diff --git a/lib/accelerated/x86/aes-gcm-padlock.c b/lib/accelerated/x86/aes-gcm-padlock.c index e39c321e0a..1c58656192 100644 --- a/lib/accelerated/x86/aes-gcm-padlock.c +++ b/lib/accelerated/x86/aes-gcm-padlock.c @@ -72,7 +72,7 @@ static void aes_gcm_deinit(void *_ctx) struct padlock_ctx *ctx = _ctx; zeroize_temp_key(ctx, sizeof(*ctx)); - gnutls_free(_ctx); + gnutls_free(ctx); } static int diff --git a/lib/accelerated/x86/aes-gcm-x86-pclmul.c b/lib/accelerated/x86/aes-gcm-x86-pclmul.c index 484ac2ef1f..d1249c6a00 100644 --- a/lib/accelerated/x86/aes-gcm-x86-pclmul.c +++ b/lib/accelerated/x86/aes-gcm-x86-pclmul.c @@ -68,7 +68,7 @@ static void aes_gcm_deinit(void *_ctx) struct aes_gcm_ctx *ctx = _ctx; zeroize_temp_key(ctx, sizeof(*ctx)); - gnutls_free(_ctx); + gnutls_free(ctx); } static int diff --git a/lib/accelerated/x86/aes-x86.c b/lib/accelerated/x86/aes-x86.c index 90b9b802c5..5607162b86 100644 --- a/lib/accelerated/x86/aes-x86.c +++ b/lib/accelerated/x86/aes-x86.c @@ -118,7 +118,7 @@ static void aes_deinit(void *_ctx) struct aes_ctx *ctx = _ctx; zeroize_temp_key(ctx, sizeof(*ctx)); - gnutls_free(_ctx); + gnutls_free(ctx); } static const gnutls_crypto_cipher_st aesni_x86 = {