mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
gpgconf,w32: Print a warning for a suspicious homedir.
* tools/gpgconf.c (list_dirs): Check whether the homedir has been taken from the registry. -- Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
8748c50bfa
commit
7f12fb55f9
2 changed files with 17 additions and 0 deletions
|
@ -305,6 +305,9 @@ default_homedir (void)
|
|||
{
|
||||
char *tmp, *p;
|
||||
|
||||
/* This is deprecated; gpgconf --list-dirs prints a
|
||||
* warning if the homedir has been taken from the
|
||||
* registry. */
|
||||
tmp = read_w32_registry_string (NULL,
|
||||
GNUPG_REGISTRY_DIR,
|
||||
"HomeDir");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue