Skip to content

Commit 2d5b2c2

Browse files
committed
Small fix to address wrong assignment
1 parent 5896df6 commit 2d5b2c2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

wolfcrypt/src/ecc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15232,7 +15232,7 @@ static int ecc_ctx_decrypt_advance(ecEncCtx* ctx)
1523215232
if (ctx->protocol == REQ_RESP_CLIENT) {
1523315233
if (ctx->cliSt != ecCLI_SENT_REQ)
1523415234
return BAD_STATE_E;
15235-
ctx->cliSt = ecSRV_BAD_STATE; /* we're done no more ops allowed */
15235+
ctx->cliSt = ecCLI_BAD_STATE; /* we're done no more ops allowed */
1523615236
}
1523715237
else if (ctx->protocol == REQ_RESP_SERVER) {
1523815238
if (ctx->srvSt != ecSRV_SALT_SET)

0 commit comments

Comments
 (0)