Bug#828614: yara: FTBFS with openssl 1.1.0

2016-06-27 Thread Hilko Bengen
* Kurt Roeckx: >> crypto.h seems to have: >> # if OPENSSL_API_COMPAT < 0x1010L >> [...] >> # define CRYPTO_num_locks()(0) >> # define CRYPTO_set_locking_callback(func) >> # define CRYPTO_get_locking_callback() (NULL) >> # define CRYPTO_set_add_lock_callback(func) >> #

Bug#828614: yara: FTBFS with openssl 1.1.0

2016-06-27 Thread Hilko Bengen
* Kurt Roeckx: >> 2. i2c_ASN1_INTEGER() is no longer available outside the OpenSSL code >>base. What am I supposed to use instead? (What is this "context >>encoding", anyway?) > > I think you mean "content". Yes. > I didn't really look all that close at the asn1 stuff, but from what I

Bug#828614: yara: FTBFS with openssl 1.1.0

2016-06-27 Thread Kurt Roeckx
On Mon, Jun 27, 2016 at 05:37:19PM +0200, Kurt Roeckx wrote: > > 1. CRYPTO_LOCK is no longer defined, apparently because some locking > >functions have been removed: > > > >- CRYPTO_num_locks() > >- CRYPTO_set_id_callback() > >- CRYPTO_set_locking_callback() > >- CRYPTO_num_loc

Bug#828614: yara: FTBFS with openssl 1.1.0

2016-06-27 Thread Kurt Roeckx
On Mon, Jun 27, 2016 at 04:26:42PM +0200, Hilko Bengen wrote: > * Kurt Roeckx: > > > On Mon, Jun 27, 2016 at 12:46:26AM +0200, Hilko Bengen wrote: > >> control: tag -1 moreinfo > >> > >> Hi Kurt, > >> > >> I was able to get the yara build fixed by applying this simple patch: > >> > >> - co

Bug#828614: yara: FTBFS with openssl 1.1.0

2016-06-27 Thread Hilko Bengen
* Kurt Roeckx: > On Mon, Jun 27, 2016 at 12:46:26AM +0200, Hilko Bengen wrote: >> 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)); >> +

Bug#828614: yara: FTBFS with openssl 1.1.0

2016-06-27 Thread Kurt Roeckx
On Mon, Jun 27, 2016 at 12:46:26AM +0200, Hilko Bengen wrote: > 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 = OB

Bug#828614: yara: FTBFS with openssl 1.1.0

2016-06-26 Thread Hilko Bengen
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

Bug#828614: yara: FTBFS with openssl 1.1.0

2016-06-26 Thread Kurt Roeckx
Source: yara Version: 3.4.0+dfsg-2 Severity: important Control: block 827061 by -1 Hi, OpenSSL 1.1.0 is about to released. During a rebuild of all packages using OpenSSL this package fail to build. A log of that build can be found at: https://breakpoint.cc/openssl-1.1-rebuild-2016-05-29/Attempt