summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2013-01-01 12:24:38 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2013-01-01 12:26:37 +0100
commit40ea6d9515d7436cfadb85d21cdf5a6539698759 (patch)
treef813e21f3ae934cb403e6822ba02b5cc6d8e98a2 /tests
parentd5a6c73d9e02d0745a456f5a5eb121e03051b349 (diff)
downloadlibtasn1-40ea6d9515d7436cfadb85d21cdf5a6539698759.tar.gz
libtasn1-40ea6d9515d7436cfadb85d21cdf5a6539698759.tar.bz2
libtasn1-40ea6d9515d7436cfadb85d21cdf5a6539698759.zip
More precise overflow checks using gnulib's intprops module.
Diffstat (limited to 'tests')
-rw-r--r--tests/Test_overflow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Test_overflow.c b/tests/Test_overflow.c
index 6f81dc5..fc8466b 100644
--- a/tests/Test_overflow.c
+++ b/tests/Test_overflow.c
@@ -136,7 +136,7 @@ main (int argc, char** argv)
/* Test that values larger than would fit in the input string are
rejected. This problem was fixed in libtasn1 2.12. */
{
- unsigned long num = 2147483647;
+ unsigned long num = 2147483649;
unsigned char der[20];
int der_len;
long l;