aboutsummaryrefslogtreecommitdiffstats
path: root/g10/build-packet.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/build-packet.c')
-rw-r--r--g10/build-packet.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/g10/build-packet.c b/g10/build-packet.c
index 92e357f7e..3fec9a84c 100644
--- a/g10/build-packet.c
+++ b/g10/build-packet.c
@@ -794,6 +794,10 @@ build_sig_subpkt (PKT_signature *sig, sigsubpkttype_t type,
case SIGSUBPKT_PRIV_VERIFY_CACHE: /*(obsolete)*/
BUG();
break;
+ /* The issuer being unhashed is a historical oddity. It
+ should work equally as well hashed. Of course, if even an
+ unhashed issuer is tampered with, it makes it awfully hard
+ to verify the sig... */
case SIGSUBPKT_ISSUER:
hashed = 0;
break;