123456789101112131415 |
- $OpenBSD: patch-libyara_modules_pe_c,v 1.1 2017/06/07 12:24:52 rpointel Exp $
- Index: libyara/modules/pe.c
- --- libyara/modules/pe.c.orig
- +++ libyara/modules/pe.c
- @@ -41,7 +41,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH D
- #include <openssl/bio.h>
- #include <openssl/pkcs7.h>
- #include <openssl/x509.h>
- -#if OPENSSL_VERSION_NUMBER < 0x10100000L
- +#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
- #define X509_get_signature_nid(o) OBJ_obj2nid((o)->sig_alg->algorithm)
- #endif
- #endif
|