[Forensics-changes] [yara] 142/192: Fix conditional define

Hilko Bengen bengen at moszumanska.debian.org
Sat Jul 1 10:31:57 UTC 2017


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to annotated tag v3.6.0
in repository yara.

commit aa2514761574589c873190b5b69867d030a68288
Author: Victor Manuel Alvarez <vmalvarez at vmalvarez-macbookpro.roam.corp.google.com>
Date:   Thu Apr 20 18:34:41 2017 +0200

    Fix conditional define
---
 libyara/libyara.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libyara/libyara.c b/libyara/libyara.c
index 49e2d1e..99d4e55 100644
--- a/libyara/libyara.c
+++ b/libyara/libyara.c
@@ -37,7 +37,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #include <yara/mem.h>
 #include <yara/threading.h>
 
-#ifdef HAVE_LIBCRYPTO && OPENSSL_VERSION_NUMBER < 0x10100000L
+#if defined(HAVE_LIBCRYPTO) && OPENSSL_VERSION_NUMBER < 0x10100000L
 #include <openssl/crypto.h>
 #endif
 
@@ -71,7 +71,7 @@ char yr_lowercase[256];
 char yr_altercase[256];
 
 
-#if defined HAVE_LIBCRYPTO && OPENSSL_VERSION_NUMBER < 0x10100000L
+#if defined(HAVE_LIBCRYPTO) && OPENSSL_VERSION_NUMBER < 0x10100000L
 
 // The OpenSSL library before version 1.1 requires some locks in order
 // to be thread-safe. These locks are initialized in yr_initialize

-- 
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