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

See ChangeLog: Wed Aug 4 10:34:46 CEST 1999 Werner Koch

This commit is contained in:
Werner Koch 1999-08-04 08:45:27 +00:00
parent a5a8312251
commit 28c861268d
31 changed files with 2354 additions and 1606 deletions

View file

@ -298,7 +298,7 @@ encode_crypt( const char *filename, STRLIST remusr )
if( rc )
goto leave;
if (!opt.no_literal)
if (!opt.no_literal) {
/* setup the inner packet */
if( filename || opt.set_filename ) {
char *s = make_basename( opt.set_filename ? opt.set_filename : filename );
@ -311,6 +311,7 @@ encode_crypt( const char *filename, STRLIST remusr )
pt = m_alloc( sizeof *pt - 1 );
pt->namelen = 0;
}
}
if( filename && !opt.textmode ) {
if( !(filesize = iobuf_get_filelength(inp)) )