mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Ported patches from 1.4.x
This commit is contained in:
parent
91a4be3126
commit
f081ad529d
10 changed files with 323 additions and 59 deletions
|
@ -841,7 +841,8 @@ build_sig_subpkt_from_sig( PKT_signature *sig )
|
|||
if(sig->expiredate>sig->timestamp)
|
||||
u=sig->expiredate-sig->timestamp;
|
||||
else
|
||||
u=0;
|
||||
u=1; /* A 1-second expiration time is the shortest one
|
||||
OpenPGP has */
|
||||
|
||||
buf[0] = (u >> 24) & 0xff;
|
||||
buf[1] = (u >> 16) & 0xff;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue