[Forensics-changes] [yara] 180/407: Remove unnecessary call to BIO_set_close, BIO_CLOSE flag is set by default
Hilko Bengen
bengen at moszumanska.debian.org
Sat Jul 1 10:28:23 UTC 2017
This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to annotated tag v3.3.0
in repository yara.
commit 59b643b9023deaa3d161353aafc0bbe517014779
Author: Victor M. Alvarez <plusvic at gmail.com>
Date: Fri Oct 31 12:03:05 2014 +0100
Remove unnecessary call to BIO_set_close, BIO_CLOSE flag is set by default
---
libyara/modules/pe.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/libyara/modules/pe.c b/libyara/modules/pe.c
index 7e2d851..b592d00 100644
--- a/libyara/modules/pe.c
+++ b/libyara/modules/pe.c
@@ -904,9 +904,7 @@ void pe_parse_certificates(
uintptr_t end = (uintptr_t) ((uint8_t *) win_cert) + win_cert->Length;
win_cert = (PWIN_CERTIFICATE) (end + (end % 8));
- BIO_set_close(cert_bio, BIO_CLOSE);
BIO_free(cert_bio);
-
sk_X509_free(certs);
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/forensics/yara.git
More information about the forensics-changes
mailing list