diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2013-01-01 12:24:38 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2013-01-01 12:26:37 +0100 |
commit | 40ea6d9515d7436cfadb85d21cdf5a6539698759 (patch) | |
tree | f813e21f3ae934cb403e6822ba02b5cc6d8e98a2 /tests | |
parent | d5a6c73d9e02d0745a456f5a5eb121e03051b349 (diff) | |
download | libtasn1-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.c | 2 |
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; |