From: Nikos Mavrogiannopoulos Date: Sun, 10 Nov 2013 17:56:44 +0000 (+0100) Subject: do not run on clippled versions of openssl X-Git-Tag: gnutls_3_3_0pre0~608 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3ff4a1e441ae57c2be15065dee823a2dd70cab14;p=thirdparty%2Fgnutls.git do not run on clippled versions of openssl --- diff --git a/tests/suite/testcompat b/tests/suite/testcompat index f299489683..ea3d5d2cdc 100755 --- a/tests/suite/testcompat +++ b/tests/suite/testcompat @@ -25,6 +25,12 @@ if ! test -x /usr/bin/openssl;then exit 77 fi +/usr/bin/openssl version|grep fips >/dev/null 2>&1 +if test $? = 0;then + echo "You need the full openssl to run this test (fips is not enough)" + exit 77 +fi + # Check for datefudge TSTAMP=`datefudge "2006-09-23 00:00 UTC" date -u +%s` if test "$TSTAMP" != "1158969600"; then