@@ -5148,7 +5148,7 @@ void GetCurves(const FunctionCallbackInfo<Value>& args) {
5148
5148
5149
5149
5150
5150
bool VerifySpkac (const char * data, unsigned int len) {
5151
- bool i = false ;
5151
+ bool verify_result = false ;
5152
5152
EVP_PKEY* pkey = nullptr ;
5153
5153
NETSCAPE_SPKI* spki = nullptr ;
5154
5154
@@ -5160,7 +5160,7 @@ bool VerifySpkac(const char* data, unsigned int len) {
5160
5160
if (pkey == nullptr )
5161
5161
goto exit ;
5162
5162
5163
- i = NETSCAPE_SPKI_verify (spki, pkey) > 0 ;
5163
+ verify_result = NETSCAPE_SPKI_verify (spki, pkey) > 0 ;
5164
5164
5165
5165
exit :
5166
5166
if (pkey != nullptr )
@@ -5169,23 +5169,23 @@ bool VerifySpkac(const char* data, unsigned int len) {
5169
5169
if (spki != nullptr )
5170
5170
NETSCAPE_SPKI_free (spki);
5171
5171
5172
- return i ;
5172
+ return verify_result ;
5173
5173
}
5174
5174
5175
5175
5176
5176
void VerifySpkac (const FunctionCallbackInfo<Value>& args) {
5177
- bool i = false ;
5177
+ bool verify_result = false ;
5178
5178
5179
5179
size_t length = Buffer::Length (args[0 ]);
5180
5180
if (length == 0 )
5181
- return args.GetReturnValue ().Set (i );
5181
+ return args.GetReturnValue ().Set (verify_result );
5182
5182
5183
5183
char * data = Buffer::Data (args[0 ]);
5184
5184
CHECK_NE (data, nullptr );
5185
5185
5186
- i = VerifySpkac (data, length);
5186
+ verify_result = VerifySpkac (data, length);
5187
5187
5188
- args.GetReturnValue ().Set (i );
5188
+ args.GetReturnValue ().Set (verify_result );
5189
5189
}
5190
5190
5191
5191
0 commit comments