1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

* g10.c, passphrase.c [CYGWIN32]: Allow this as an alias for MINGW32.

This commit is contained in:
Werner Koch 2001-12-19 18:04:31 +00:00
parent 7f5062db6c
commit 3a60b758ad
3 changed files with 13 additions and 9 deletions

View file

@ -741,11 +741,11 @@ main( int argc, char **argv )
opt.marginals_needed = 3;
opt.max_cert_depth = 5;
opt.pgp2_workarounds = 1;
#ifdef __MINGW32__
#if defined (__MINGW32__) || defined (__CYGWIN32__)
opt.homedir = read_w32_registry_string( NULL, "Software\\GNU\\GnuPG", "HomeDir" );
#else
#else
opt.homedir = getenv("GNUPGHOME");
#endif
#endif
if( !opt.homedir || !*opt.homedir ) {
opt.homedir = GNUPG_HOMEDIR;
}