]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
tests: don't perform the overflow check in 32-bit systems
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Thu, 5 Mar 2015 18:03:34 +0000 (19:03 +0100)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Thu, 5 Mar 2015 18:04:05 +0000 (19:04 +0100)
tests/cert-tests/template-test

index 6fe12a668593b3167294e8e1333f4a49f997dd9a..2f782d76480f2bb9682f2afb8d822d0b5363e3eb 100755 (executable)
@@ -145,6 +145,9 @@ fi
 
 rm -f tmp-tt.pem
 
+# The following test works in 64-bit systems
+if echo __SIZEOF_POINTER__ | cpp -E - - | grep '^8$' >/dev/null; then
+
 rc=1
 counter=1
 
@@ -168,6 +171,7 @@ if test "$rc" != "0"; then
 fi
 
 rm -f tmp-tt.pem
+fi
 
 rc=1
 counter=1