@@ -5170,7 +5170,7 @@ void GetCurves(const FunctionCallbackInfo<Value>& args) {
5170
5170
5171
5171
5172
5172
bool VerifySpkac (const char * data, unsigned int len) {
5173
- bool i = false ;
5173
+ bool verify_result = false ;
5174
5174
EVP_PKEY* pkey = nullptr ;
5175
5175
NETSCAPE_SPKI* spki = nullptr ;
5176
5176
@@ -5182,7 +5182,7 @@ bool VerifySpkac(const char* data, unsigned int len) {
5182
5182
if (pkey == nullptr )
5183
5183
goto exit ;
5184
5184
5185
- i = NETSCAPE_SPKI_verify (spki, pkey) > 0 ;
5185
+ verify_result = NETSCAPE_SPKI_verify (spki, pkey) > 0 ;
5186
5186
5187
5187
exit :
5188
5188
if (pkey != nullptr )
@@ -5191,23 +5191,23 @@ bool VerifySpkac(const char* data, unsigned int len) {
5191
5191
if (spki != nullptr )
5192
5192
NETSCAPE_SPKI_free (spki);
5193
5193
5194
- return i ;
5194
+ return verify_result ;
5195
5195
}
5196
5196
5197
5197
5198
5198
void VerifySpkac (const FunctionCallbackInfo<Value>& args) {
5199
- bool i = false ;
5199
+ bool verify_result = false ;
5200
5200
5201
5201
size_t length = Buffer::Length (args[0 ]);
5202
5202
if (length == 0 )
5203
- return args.GetReturnValue ().Set (i );
5203
+ return args.GetReturnValue ().Set (verify_result );
5204
5204
5205
5205
char * data = Buffer::Data (args[0 ]);
5206
5206
CHECK_NE (data, nullptr );
5207
5207
5208
- i = VerifySpkac (data, length);
5208
+ verify_result = VerifySpkac (data, length);
5209
5209
5210
- args.GetReturnValue ().Set (i );
5210
+ args.GetReturnValue ().Set (verify_result );
5211
5211
}
5212
5212
5213
5213
0 commit comments