@@ -49,7 +49,7 @@ static int _certVerifyResponse(whClientContext* c, whKeyId* out_keyId,
4949/* Helper function to perform certificate verification */
5050static 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
432432static 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