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

release 0.2.9

This commit is contained in:
Werner Koch 1998-02-26 16:56:31 +00:00
parent 5a05af2bca
commit 4e8c3794b3
53 changed files with 1662 additions and 977 deletions

View file

@ -124,7 +124,7 @@ open_outfile( const char *iname, int mode )
/****************
* Try to open a file without the extension ".sig"
* Try to open a file without the extension ".sig" or ".asc"
* Return NULL if such a file is not available.
*/
IOBUF
@ -135,7 +135,8 @@ open_sigfile( const char *iname )
if( iname ) {
len = strlen(iname);
if( len > 4 && !strcmp(iname + len - 4, ".sig") ) {
if( len > 4 && ( !strcmp(iname + len - 4, ".sig")
|| !strcmp(iname + len - 4, ".asc")) ) {
char *buf;
buf = m_strdup(iname);
buf[len-4] = 0 ;