diff options
Diffstat (limited to 'g10/keyring.c')
-rw-r--r-- | g10/keyring.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/keyring.c b/g10/keyring.c index ae02f9d78..04f6eeb22 100644 --- a/g10/keyring.c +++ b/g10/keyring.c @@ -1171,7 +1171,7 @@ create_tmp_file (const char *template, * works. So we replace .gpg by .bak or .tmp */ if (strlen (template) > 4 - && !strcmp (template+strlen(template)-4, EXTSEP_S "gpg") ) + && !strcmp (template+strlen(template)-4, EXTSEP_S GPGEXT_GPG) ) { bakfname = xmalloc (strlen (template) + 1); strcpy (bakfname, template); |