From: Nikos Mavrogiannopoulos Date: Thu, 5 Mar 2015 18:03:34 +0000 (+0100) Subject: tests: don't perform the overflow check in 32-bit systems X-Git-Tag: gnutls_3_4_0~245 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d7dd053a8f3b49f7d22f085801edd246cd0ffbb7;p=thirdparty%2Fgnutls.git tests: don't perform the overflow check in 32-bit systems --- diff --git a/tests/cert-tests/template-test b/tests/cert-tests/template-test index 6fe12a6685..2f782d7648 100755 --- a/tests/cert-tests/template-test +++ b/tests/cert-tests/template-test @@ -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