Home GnuPG

w32: Allow Unicode for internal getusername function.

Description

w32: Allow Unicode for internal getusername function.

* src/sysutils.c (_gpgrt_getusername) [W32]: Use GetUserNameW.

This is used by argparse for user specific parts. Tested using the
echo meta-command.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Dec 21 2020, 10:06 AM
Parents
rE4b09c8c2023d: core: Fix the "ignore" meta command of the argparser.
Branches
Unknown
Tags
Unknown