diff options
author | Werner Koch <wk@gnupg.org> | 2009-09-30 17:28:38 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2009-09-30 17:28:38 +0200 |
commit | 27c1b4bef84dcb3a77147887817f228ced8c1b31 (patch) | |
tree | 27817fb6ac1ae22d6bba472de9f55e998534c3df /g10/dearmor.c | |
parent | Rename encode.c to encrypt.c. (diff) | |
download | gnupg2-27c1b4bef84dcb3a77147887817f228ced8c1b31.tar.xz gnupg2-27c1b4bef84dcb3a77147887817f228ced8c1b31.zip |
Some changes to suport g13.
Diffstat (limited to 'g10/dearmor.c')
-rw-r--r-- | g10/dearmor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/g10/dearmor.c b/g10/dearmor.c index da888ad14..00bdf7bbd 100644 --- a/g10/dearmor.c +++ b/g10/dearmor.c @@ -64,7 +64,7 @@ dearmor_file( const char *fname ) push_armor_filter ( afx, inp ); - if( (rc = open_outfile( fname, 0, &out )) ) + if( (rc = open_outfile (GNUPG_INVALID_FD, fname, 0, &out )) ) goto leave; while( (c = iobuf_get(inp)) != -1 ) @@ -110,7 +110,7 @@ enarmor_file( const char *fname ) } - if( (rc = open_outfile( fname, 1, &out )) ) + if( (rc = open_outfile (GNUPG_INVALID_FD, fname, 1, &out )) ) goto leave; afx->what = 4; |