Update verify.c

This commit is contained in:
DavidXanatos 2023-08-05 18:54:56 +02:00
parent 89236e51e7
commit a9efe04927
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}