mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
changed configuration stuff, replaced some Makefile.am by distfiles.
This commit is contained in:
parent
a112009805
commit
c351df1dc5
42 changed files with 1091 additions and 220 deletions
|
@ -97,7 +97,7 @@ encode_simple( const char *filename, int mode )
|
|||
}
|
||||
}
|
||||
|
||||
if( !(out = open_outfile( filename )) ) {
|
||||
if( !(out = open_outfile( filename, opt.armor? 1:0 )) ) {
|
||||
iobuf_close(inp);
|
||||
m_free(cfx.dek);
|
||||
return G10ERR_CREATE_FILE; /* or user said: do not overwrite */
|
||||
|
@ -190,7 +190,7 @@ encode_crypt( const char *filename, STRLIST remusr )
|
|||
else if( opt.verbose )
|
||||
log_error("reding from '%s'\n", filename? filename: "[stdin]");
|
||||
|
||||
if( !(out = open_outfile( filename )) ) {
|
||||
if( !(out = open_outfile( filename, opt.armor? 1:0 )) ) {
|
||||
iobuf_close(inp);
|
||||
free_strlist(local_remusr);
|
||||
return G10ERR_CREATE_FILE; /* or user said: do not overwrite */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue