diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 1999-06-03 07:27:43 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 1999-06-03 07:27:43 +0000 |
commit | dddad7c776881afcb79b627c5e423b4dd1ac8959 (patch) | |
tree | 9fabe2dc0b83076a387de99fc0572b7eb902cb02 /init.c | |
parent | b5eae58059edb774a743a4c7f66229f7124ad5ab (diff) |
Experimental: New PGP invocation interface. The invocations are done
through formats, so all this should fit more cleanly into mutt now.
Diffstat (limited to 'init.c')
-rw-r--r-- | init.c | 47 |
1 files changed, 0 insertions, 47 deletions
@@ -1622,53 +1622,6 @@ void mutt_init (int skip_sys_rc, LIST *commands) Tempdir = safe_strdup ((p = getenv ("TMPDIR")) ? p : "/tmp"); - - -#ifdef _PGPPATH -#ifdef _PGPV2PATH - PgpV2 = safe_strdup (_PGPV2PATH); - if ((p = getenv("PGPPATH")) != NULL) - { - snprintf (buffer, sizeof (buffer), "%s/pubring.pgp", p); - PgpV2Pubring = safe_strdup (buffer); - snprintf (buffer, sizeof (buffer), "%s/secring.pgp", p); - PgpV2Secring = safe_strdup (buffer); - } - else - { - snprintf (buffer, sizeof (buffer), "%s/.pgp/pubring.pgp", NONULL(Homedir)); - PgpV2Pubring = safe_strdup (buffer); - snprintf (buffer, sizeof (buffer), "%s/.pgp/secring.pgp", NONULL(Homedir)); - PgpV2Secring = safe_strdup (buffer); - } -#endif - -#ifdef _PGPV3PATH - PgpV3 = safe_strdup (_PGPV3PATH); - if ((p = getenv("PGPPATH")) != NULL) - { - snprintf (buffer, sizeof (buffer), "%s/pubring.pkr", p); - PgpV3Pubring = safe_strdup (buffer); - snprintf (buffer, sizeof (buffer), "%s/secring.skr", p); - PgpV3Secring = safe_strdup (buffer); - } - else - { - snprintf (buffer, sizeof (buffer), "%s/.pgp/pubring.pkr", NONULL(Homedir)); - PgpV3Pubring = safe_strdup (buffer); - snprintf (buffer, sizeof (buffer), "%s/.pgp/secring.skr", NONULL(Homedir)); - PgpV3Secring = safe_strdup (buffer); - } -#endif - -#ifdef _PGPGPGPATH - PgpGpg = safe_strdup (_PGPGPGPATH); -#endif - -#endif /* _PGPPATH */ - - - #ifdef USE_POP PopUser = safe_strdup (Username); #endif |