mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-18 14:17:03 +01:00
17 lines
305 B
Plaintext
17 lines
305 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
. $srcdir/defs.inc || exit 3
|
||
|
|
||
|
# GnuPG through 2.1.7 would incorrect mark packets whose size is
|
||
|
# 2^32-1 as invalid and exit with status code 2.
|
||
|
i=$srcdir/4gb-packet.asc
|
||
|
|
||
|
if ! $GPG --list-packets $i
|
||
|
then
|
||
|
echo Failed to parse 4GB packet.
|
||
|
exit 1
|
||
|
else
|
||
|
echo Can parse 4GB packets.
|
||
|
exit 0
|
||
|
fi
|