tests,w32: Use GetTempPath to get the path for temporary files.
authorJustus Winter <justus@g10code.com>
Tue, 21 Mar 2017 14:52:47 +0000 (15:52 +0100)
committerJustus Winter <justus@g10code.com>
Tue, 21 Mar 2017 14:52:47 +0000 (15:52 +0100)
commitd17840c3f40111beaf97d96ad3ca52047976e221
treeadc95f7bb3910186888aec64d86ce987380bb523
parent74c1f30ad6616186f0ab9dbaf34db6c17b1e40c4
tests,w32: Use GetTempPath to get the path for temporary files.

* tests/gpgscm/ffi.c (do_get_temp_path): New function.
(ffi_init): Make function available.
* tests/gpgscm/tests.scm (mkdtemp): Use the new function.

Fixes-commit: 06f1f163e96f1039304fd3cf565cf9de1ca45849
Signed-off-by: Justus Winter <justus@g10code.com>
tests/gpgscm/ffi.c
tests/gpgscm/tests.scm