mirror of https://github.com/openssl/openssl.git
Set op_num to 0
Here, op_num is just used for logging purposes (number of completed operations), so start it at 0 Fixes https://scan5.scan.coverity.com/#/project-view/62507/10222?selectedIssue=1643034 Reviewed-by: Neil Horman <nhorman@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/26829)
This commit is contained in:
parent
c152a94395
commit
6b662bf0d6
|
|
@ -667,7 +667,7 @@ static int TERP_execute(TERP *terp)
|
|||
{
|
||||
int ok = 0;
|
||||
uint64_t opc;
|
||||
size_t op_num = SIZE_MAX;
|
||||
size_t op_num = 0;
|
||||
int in_debug_output = 0;
|
||||
size_t spin_count = 0;
|
||||
BIO *debug_bio = terp->cfg.debug_bio;
|
||||
|
|
|
|||
Loading…
Reference in New Issue