diff options
Diffstat (limited to 'g10/parse-packet.c')
-rw-r--r-- | g10/parse-packet.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/g10/parse-packet.c b/g10/parse-packet.c index caea138d3..7c54a1ca8 100644 --- a/g10/parse-packet.c +++ b/g10/parse-packet.c @@ -2378,6 +2378,9 @@ parse_signature (IOBUF inp, int pkttype, unsigned long pktlen, } if (!sig->data[i]) rc = GPG_ERR_INV_PACKET; + if (!pktlen && sig->pubkey_algo == PUBKEY_ALGO_EDDSA) + /* Allow the R part only. */ + break; } } |