summaryrefslogtreecommitdiff
path: root/tests/cert-tests/template-test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cert-tests/template-test')
-rwxr-xr-xtests/cert-tests/template-test2
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 \