Fix memory leak.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
HMAC-SHA1(fips.c)= f764539b7d09141738d86c9e0442de990ab8ae3f
|
||||
HMAC-SHA1(fips.c)= 4eef19c535c1f3deacdf93eb806479ea3b374115
|
||||
HMAC-SHA1(fips_err_wrapper.c)= d3e2be316062510312269e98f964cb87e7577898
|
||||
HMAC-SHA1(fips.h)= fbedad5dbd8986ddd521ea576bf2a20e6881540a
|
||||
HMAC-SHA1(fips_err.h)= 4a73f2a88e206f1f88edfd9b26609a0eed818491
|
||||
|
||||
@@ -160,6 +160,7 @@ static int FIPS_check_exe(const char *path)
|
||||
}
|
||||
fclose(f);
|
||||
HMAC_Final(&hmac,mdbuf,&n);
|
||||
HMAC_CTX_cleanup(&hmac);
|
||||
BIO_snprintf(p2,sizeof p2,sha1_fmt,path);
|
||||
f=fopen(p2,"rb");
|
||||
if(!f || fread(buf,1,20,f) != 20)
|
||||
|
||||
Reference in New Issue
Block a user