Skip to content

Commit dfbd61c

Browse files
committed
Remove always true check.
1 parent cdeba4e commit dfbd61c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

wolfcrypt/src/port/st/stm32.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ int wc_Stm32_Hash_Update(STM32_HASH_Context* stmCtx, word32 algo,
318318
}
319319
#endif
320320

321-
if (len >= 0 && stmCtx->buffLen == chunkSz) {
321+
if (stmCtx->buffLen == chunkSz) {
322322
wc_Stm32_Hash_Data(stmCtx, stmCtx->buffLen);
323323
wroteToFifo = 1;
324324
#ifdef STM32_HASH_FIFO_WORKAROUND

0 commit comments

Comments
 (0)