]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
addressed warning
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Sat, 14 Dec 2013 18:33:34 +0000 (19:33 +0100)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Sat, 14 Dec 2013 18:35:20 +0000 (19:35 +0100)
lib/accelerated/x86/aes-gcm-padlock.c
lib/accelerated/x86/aes-gcm-x86-pclmul.c
lib/accelerated/x86/aes-x86.c

index e39c321e0a077321f9c4c55785588c3a1e996454..1c58656192e1237d8cd057aae32243ac640a29c7 100644 (file)
@@ -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
index 484ac2ef1f1a584cdaca36939361b0941fd4370a..d1249c6a0081b13e21a5e4201984ffaa97b5895c 100644 (file)
@@ -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
index 90b9b802c5d8a1d3f8c586fbddf1e4896f598ecd..5607162b865e30bf76a98dfbab3fa5b6e123ebc9 100644 (file)
@@ -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 = {