From 54f520e4bfc0fe23e2719d44b09739aa8709451c Mon Sep 17 00:00:00 2001 From: vnugent Date: Tue, 23 Jul 2024 19:55:13 -0400 Subject: latest changes --- src/providers/bcrypt.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/providers/bcrypt.c') diff --git a/src/providers/bcrypt.c b/src/providers/bcrypt.c index 67ae695..10cf801 100644 --- a/src/providers/bcrypt.c +++ b/src/providers/bcrypt.c @@ -223,7 +223,8 @@ _IMPLSTB void _bcDestroyCtx(struct _bcrypt_ctx* ctx) cstatus_t _bcrypt_hkdf_finish(void* ctx, sha256_t hmacOut32) { - DEBUG_ASSERT(ctx != NULL) + DEBUG_ASSERT(ctx != NULL); + DEBUG_ASSERT(hmacOut32 != NULL); BC_FAIL(_bcFinishHash((struct _bcrypt_ctx*)ctx, hmacOut32)) return CSTATUS_OK; -- cgit