Update verify.c
This commit is contained in:
parent
89236e51e7
commit
a9efe04927
|
@ -668,8 +668,6 @@ _FX NTSTATUS KphValidateCertificate()
|
|||
next:
|
||||
status = Conf_Read_Line(stream, line, &line_num);
|
||||
}
|
||||
|
||||
Stream_Close(stream);
|
||||
|
||||
|
||||
if(!NT_SUCCESS(status = MyFinishHash(&hashObj, &hash, &hashSize)))
|
||||
|
@ -846,6 +844,8 @@ CleanupExit:
|
|||
if(hash) ExFreePoolWithTag(hash, 'vhpK');
|
||||
if(signature) Mem_Free(signature, signatureSize);
|
||||
|
||||
if(stream) Stream_Close(stream);
|
||||
|
||||
return status;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue