parse_new_sig() handles a revoked key by setting sig->status to
GPG_ERR_CERT_REVOKED, but then later calc_sig_summary() expects that code in
sig->validity_reason.
Reproducer program attached.
parse_new_sig() handles a revoked key by setting sig->status to
GPG_ERR_CERT_REVOKED, but then later calc_sig_summary() expects that code in
sig->validity_reason.
Reproducer program attached.
Patch attached. I left the previous behavior intact in case it's needed for
backward-compat.