aboutsummaryrefslogtreecommitdiff
path: root/src/providers/bcrypt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/providers/bcrypt.c')
-rw-r--r--src/providers/bcrypt.c3
1 files changed, 2 insertions, 1 deletions
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;