X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=lib-crypt%2Fpgpkey.c;h=96db58a5cb0993f7b33eba080a93f6fe2eab3146;hp=77c5d26fe92241199549b7334550cd0feb05d666;hb=558b0bd9de90a9dc28f409d8f46679bf48c72ded;hpb=892df7e70376da43374d834b8a825ea2d59efd06 diff --git a/lib-crypt/pgpkey.c b/lib-crypt/pgpkey.c index 77c5d26..96db58a 100644 --- a/lib-crypt/pgpkey.c +++ b/lib-crypt/pgpkey.c @@ -505,7 +505,7 @@ static pgp_key_t pgp_select_key (pgp_key_t keys, address_t * p, const char *s) break; } - fp = m_tempfile (tempfile, sizeof(tempfile), NONULL(Tempdir), NULL); + fp = m_tempfile (tempfile, sizeof(tempfile), NONULL(MCore.tmpdir), NULL); if (!fp) { m_fclose(&devnull); mutt_perror (_("Can't create temporary file")); @@ -682,7 +682,7 @@ BODY *pgp_make_key_attachment (char *tempf) pgp_free_key (&key); if (!tempf) { - tempfp = m_tempfile (tempfb, sizeof(tempfb), NONULL(Tempdir), NULL); + tempfp = m_tempfile (tempfb, sizeof(tempfb), NONULL(MCore.tmpdir), NULL); tempf = tempfb; } else { tempfp = safe_fopen(tempf, "a");