blob: 57b8fc7bcfaf258b5d8a07b52521f02c6d5eb37e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/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 >/dev/null
then
echo Failed to parse 4GB packet.
exit 1
else
echo Can parse 4GB packets.
exit 0
fi
|