[Forensics-changes] [yara] 03/04: Fix typo in OpenSSL 1.1 compatibility patch

Hilko Bengen bengen at moszumanska.debian.org
Mon Jul 4 07:54:00 UTC 2016


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

bengen pushed a commit to branch master
in repository yara.

commit 3d40162428386bcc8fe93cfce515799a56afb57e
Author: Hilko Bengen <bengen at debian.org>
Date:   Sat Jul 2 10:33:08 2016 +0200

    Fix typo in OpenSSL 1.1 compatibility patch
---
 debian/patches/0002-Make-pe.c-compatible-with-OpenSSL-1.1.patch | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/patches/0002-Make-pe.c-compatible-with-OpenSSL-1.1.patch b/debian/patches/0002-Make-pe.c-compatible-with-OpenSSL-1.1.patch
index 97c6b47..e2874bb 100644
--- a/debian/patches/0002-Make-pe.c-compatible-with-OpenSSL-1.1.patch
+++ b/debian/patches/0002-Make-pe.c-compatible-with-OpenSSL-1.1.patch
@@ -7,7 +7,7 @@ Subject: Make pe.c compatible with OpenSSL 1.1
  1 file changed, 4 insertions(+), 1 deletion(-)
 
 diff --git a/libyara/modules/pe.c b/libyara/modules/pe.c
-index 4dcc13c..271dc08 100644
+index 4dcc13c..0241bde 100644
 --- a/libyara/modules/pe.c
 +++ b/libyara/modules/pe.c
 @@ -29,6 +29,9 @@ limitations under the License.
@@ -15,7 +15,7 @@ index 4dcc13c..271dc08 100644
  #include <openssl/pkcs7.h>
  #include <openssl/x509.h>
 +#if OPENSSL_VERSION_NUMBER < 0x10100000L
-+#define X509_get_signature_nid(o) OBJ_obj2nid((o)->sig_alg.algorithm)
++#define X509_get_signature_nid(o) OBJ_obj2nid((o)->sig_alg->algorithm)
 +#endif
  #endif
  

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