gentoo / libressl

[MIRROR] LibreSSL ebuilds testing repository
https://gitweb.gentoo.org/repo/proj/libressl.git
72 stars 44 forks source link

app-forensics/yara-4.4.0 - error: implicit declaration of function 'TS_VERIFY_CTX_init' #550

Open orbea opened 8 months ago

orbea commented 8 months ago

dev-libs/libressl: 3.8.2 app-forensics/yara: 4.4.0, 9999

libyara/modules/pe/authenticode-parser/countersignature.c: In function 'ms_countersig_new':
libyara/modules/pe/authenticode-parser/countersignature.c:302:3: error: implicit declaration of function 'TS_VERIFY_CTX_init'; did you mean 'TS_VERIFY_CTX_new'? [-Werror=implicit-function-declaration]
  302 |   TS_VERIFY_CTX_init(ctx);
      |   ^~~~~~~~~~~~~~~~~~
      |   TS_VERIFY_CTX_new
cc1: some warnings being treated as errors

yara-4.4.0-build.log

The OpenSSL function is visible here.

 void TS_VERIFY_CTX_init(TS_VERIFY_CTX *ctx)
{
    OPENSSL_assert(ctx != NULL);
    memset(ctx, 0, sizeof(*ctx));
}