gpgscm: Mmap script files.

Authored by justus on Apr 5 2017, 2:11 PM.

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

Committed
justusApr 10 2017, 2:57 PM
Parents
rE6c9de8ff59a9: gpgscm: Refactor checking for opcode arguments.
Branches
Unknown
Tags
Unknown