diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2016-09-03 10:23:49 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2016-09-03 10:26:01 +0200 |
commit | 85b7058898a0095334dd2f8ebc964d582f8cff02 (patch) | |
tree | 8757fc1d81d0c664133295067b291db9106be90c /tests/cert-tests/template-test | |
parent | a91ffe4b0f6c6e16707ab634bfa9b3e1afab60eb (diff) | |
download | gnutls-85b7058898a0095334dd2f8ebc964d582f8cff02.tar.gz |
tests: template-test: use uniform way to detect 32-bit systems
Diffstat (limited to 'tests/cert-tests/template-test')
-rwxr-xr-x | tests/cert-tests/template-test | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cert-tests/template-test b/tests/cert-tests/template-test index 1d40735908..808b52a9e6 100755 --- a/tests/cert-tests/template-test +++ b/tests/cert-tests/template-test @@ -117,7 +117,7 @@ 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 +if test "$(getconf LONG_BIT)" = "64"; then datefudge -s "2007-04-22" \ "${CERTTOOL}" --generate-self-signed \ |