Home GnuPG

common,w32: Fix setting environment variables on Windows.

Description

common,w32: Fix setting environment variables on Windows.

* common/sysutils.c (gnupg_setenv): Also update the environment block
maintained by the C runtime.
(gnupg_unsetenv): Likewise.
* tests/gpgscm/ffi.c (do_setenv): Fix error handling.
  • Signed-off-by: Justus Winter <justus@g10code.com>

Details

Provenance
justusAuthored on Oct 20 2016, 4:45 PM
Parents
rE7a262df038f4: gpgscm: Initialize nesting stack.
Branches
Unknown
Tags
Unknown