Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
dmorais-ledger committed Oct 26, 2023
1 parent 7d96c8b commit bedb954
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib_cxng/src/cx_pkcs1.c
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ bool cx_pkcs1_emsa_pss_verify_with_salt_len(cx_md_t hID,
return false;
}

if (cx_hash_init_ex(hash_ctx, hID, hLen) != CX_Ok
if (cx_hash_init_ex(hash_ctx, hID, hLen) != CX_OK
|| cx_hash_update(hash_ctx, C_cx_pss_zeros, 8) != CX_OK
|| cx_hash_update(hash_ctx, mHash, mHashLen) != CX_OK
|| cx_hash_update(hash_ctx, em + PSLen + 1, mSaltLen) != CX_OK
Expand Down

0 comments on commit bedb954

Please sign in to comment.