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

bug fix release

This commit is contained in:
Werner Koch 1998-08-11 17:29:34 +00:00
parent 62f550bb0a
commit 3e0e8f884f
43 changed files with 1828 additions and 520 deletions

View file

@ -58,10 +58,9 @@ dearmor_file( const char *fname )
iobuf_push_filter( inp, armor_filter, &afx );
if( !(out = open_outfile( fname, 0 )) ) {
rc = G10ERR_CREATE_FILE;
if( (rc = open_outfile( fname, 0, &out )) )
goto leave;
}
while( (c = iobuf_get(inp)) != -1 )
@ -100,10 +99,8 @@ enarmor_file( const char *fname )
}
if( !(out = open_outfile( fname, 1 )) ) {
rc = G10ERR_CREATE_FILE;
if( (rc = open_outfile( fname, 1, &out )) )
goto leave;
}
afx.what = 4;
afx.hdrlines = "Comment: Use \"gpgm --dearmor\" for unpacking\n";