libressl icon indicating copy to clipboard operation
libressl copied to clipboard

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

Open orbea opened this issue 1 year ago • 0 comments

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));
}

orbea avatar Feb 25 '24 15:02 orbea