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

Removed deprecated SIGEXPIRED status line.

This commit is contained in:
Werner Koch 2011-02-04 10:28:28 +01:00
parent 9f38f3918a
commit cd9614b81b
3 changed files with 15 additions and 7 deletions

View file

@ -238,10 +238,8 @@ do_check_messages( PKT_public_key *pk, PKT_signature *sig,
if (opt.verbose)
log_info(_("NOTE: signature key %s expired %s\n"),
keystr_from_pk(pk), asctimestamp( pk->expiredate ) );
/* SIGEXPIRED is deprecated. Use KEYEXPIRED. */
sprintf(buf,"%lu",(ulong)pk->expiredate);
write_status_text(STATUS_KEYEXPIRED,buf);
write_status(STATUS_SIGEXPIRED);
if(r_expired)
*r_expired = 1;
}