summaryrefslogtreecommitdiffstats
path: root/security/nss/lib/freebl/blake2b.c
diff options
context:
space:
mode:
Diffstat (limited to 'security/nss/lib/freebl/blake2b.c')
-rw-r--r--security/nss/lib/freebl/blake2b.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/nss/lib/freebl/blake2b.c b/security/nss/lib/freebl/blake2b.c
index 4099c67e0..b4a0442c9 100644
--- a/security/nss/lib/freebl/blake2b.c
+++ b/security/nss/lib/freebl/blake2b.c
@@ -180,7 +180,7 @@ blake2b_Begin(BLAKE2BContext* ctx, uint8_t outlen, const uint8_t* key,
return SECSuccess;
failure:
- PORT_Memset(&ctx, 0, sizeof(ctx));
+ PORT_Memset(ctx, 0, sizeof(*ctx));
PORT_SetError(SEC_ERROR_INVALID_ARGS);
return SECFailure;
}