Home GnuPG

gpgscm: Mmap script files.

Description

gpgscm: Mmap script files.

* tests/gpgscm/main.c (load): Try to mmap the script.
* tests/gpgscm/scheme.c (scheme_load_memory): New function, a
generalization of 'scheme_load_string'.
* tests/gpgscm/scheme.h (scheme_load_memory): New prototype.
  • Signed-off-by: Justus Winter <justus@g10code.com>

Details

Provenance
justusAuthored on Apr 5 2017, 2:11 PM
Parents
rE6c9de8ff59a9: gpgscm: Refactor checking for opcode arguments.
Branches
Unknown
Tags
Unknown