Skip to content

Commit a9f88c1

Browse files
committed
rename variable for clarity
1 parent 5ab43e0 commit a9f88c1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/wh_client_cert.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ static int _certVerifyResponse(whClientContext* c, whKeyId* out_keyId,
4949
/* Helper function to perform certificate verification */
5050
static int _certVerify(whClientContext* c, const uint8_t* cert,
5151
uint32_t cert_len, whNvmId trustedRootNvmId,
52-
uint16_t flags, whNvmFlags cachedKeyFlags,
52+
uint16_t verifyFlags, whNvmFlags cachedKeyFlags,
5353
whKeyId* inout_keyId, int32_t* out_rc);
5454

5555

@@ -431,7 +431,7 @@ static int _certVerifyResponse(whClientContext* c, whKeyId* out_keyId,
431431

432432
static int _certVerify(whClientContext* c, const uint8_t* cert,
433433
uint32_t cert_len, whNvmId trustedRootNvmId,
434-
uint16_t flags, whNvmFlags cachedKeyFlags,
434+
uint16_t verifyFlags, whNvmFlags cachedKeyFlags,
435435
whKeyId* inout_keyId, int32_t* out_rc)
436436
{
437437
int rc = 0;
@@ -446,8 +446,8 @@ static int _certVerify(whClientContext* c, const uint8_t* cert,
446446
}
447447

448448
do {
449-
rc = _certVerifyRequest(c, cert, cert_len, trustedRootNvmId, flags,
450-
cachedKeyFlags, keyId);
449+
rc = _certVerifyRequest(c, cert, cert_len, trustedRootNvmId,
450+
verifyFlags, cachedKeyFlags, keyId);
451451
} while (rc == WH_ERROR_NOTREADY);
452452

453453
if (rc == 0) {

0 commit comments

Comments
 (0)