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:
parent
5a05af2bca
commit
4e8c3794b3
53 changed files with 1662 additions and 977 deletions
|
@ -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 ;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue