Bug#828614: yara: FTBFS with openssl 1.1.0

Hilko Bengen bengen at debian.org
Sun Jun 26 22:46:26 UTC 2016


control: tag -1 moreinfo

Hi Kurt,

I was able to get the yara build fixed by applying this simple patch:

-      const char* sig_alg = OBJ_nid2ln(OBJ_obj2nid(cert->sig_alg->algorithm));
+      const char* sig_alg = OBJ_nid2ln(X509_get_signature_nid(cert));

However, since I don't really know a lot about OpenSSL's internals, I'm
not sure if the fix is actually correct. I have found neither the
OpenSSL manpages nor upstream's wiki page about the API changes to be
particularly helpful.

A document describing to Debian maintainers how they need to change
specific struct accesses would be very helpful.

Cheers,
-Hilko



More information about the forensics-devel mailing list