diff options
Diffstat (limited to 'g10/sign.c')
-rw-r--r-- | g10/sign.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/g10/sign.c b/g10/sign.c index 84fc65f82..cbc93af2d 100644 --- a/g10/sign.c +++ b/g10/sign.c @@ -639,7 +639,7 @@ sign_file( STRLIST filenames, int detached, STRLIST locusr, SK_LIST sk_list = NULL; SK_LIST sk_rover = NULL; int multifile = 0; - u32 timestamp=0,duration=0; + u32 duration=0; memset( &afx, 0, sizeof afx); memset( &zfx, 0, sizeof zfx); @@ -852,7 +852,7 @@ sign_file( STRLIST filenames, int detached, STRLIST locusr, /* write the signatures */ rc = write_signature_packets (sk_list, out, mfx.md, opt.textmode && !outfile? 0x01 : 0x00, - timestamp, duration, detached ? 'D':'S'); + 0, duration, detached ? 'D':'S'); if( rc ) goto leave; @@ -890,7 +890,7 @@ clearsign_file( const char *fname, STRLIST locusr, const char *outfile ) SK_LIST sk_rover = NULL; int old_style = opt.rfc1991; int only_md5 = 0; - u32 timestamp=0,duration=0; + u32 duration=0; memset( &afx, 0, sizeof afx); init_packet( &pkt ); @@ -991,8 +991,7 @@ clearsign_file( const char *fname, STRLIST locusr, const char *outfile ) iobuf_push_filter( out, armor_filter, &afx ); /* write the signatures */ - rc = write_signature_packets (sk_list, out, textmd, 0x01, - timestamp, duration, 'C'); + rc=write_signature_packets (sk_list, out, textmd, 0x01, 0, duration, 'C'); if( rc ) goto leave; @@ -1026,7 +1025,7 @@ sign_symencrypt_file (const char *fname, STRLIST locusr) SK_LIST sk_list = NULL; SK_LIST sk_rover = NULL; int algo; - u32 timestamp=0,duration=0; + u32 duration=0; memset( &afx, 0, sizeof afx); memset( &zfx, 0, sizeof zfx); @@ -1132,7 +1131,7 @@ sign_symencrypt_file (const char *fname, STRLIST locusr) /*(current filters: zip - encrypt - armor)*/ rc = write_signature_packets (sk_list, out, mfx.md, opt.textmode? 0x01 : 0x00, - timestamp, duration, 'S'); + 0, duration, 'S'); if( rc ) goto leave; |