Home GnuPG

gpgscm: Make the compile-hook configurable.

Description

gpgscm: Make the compile-hook configurable.

* tests/gpgscm/scheme-private.h (struct scheme): Make field
'COMPILE_HOOK' optional.
* tests/gpgscm/scheme.c (opexe_0): Fix guard.
(scheme_init_custom_alloc): Conditionally initialize 'COMPILE_HOOK'.
* tests/gpgscm/scheme.h (USE_COMPILE_HOOK): Define to 1 by default.
  • Signed-off-by: Justus Winter <justus@g10code.com>

Details

Provenance
justusAuthored on Nov 9 2016, 1:34 PM
Parents
rEf69a754515f4: gpgscm: Drop obsolete commented-out code.
Branches
Unknown
Tags
Unknown