]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
do not run on clippled versions of openssl
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Sun, 10 Nov 2013 17:56:44 +0000 (18:56 +0100)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Sun, 10 Nov 2013 17:56:44 +0000 (18:56 +0100)
tests/suite/testcompat

index f299489683ec688a91e966ee489e7d5410d96fff..ea3d5d2cdcfba53ab8d1e20ddcf339f7816dfb8d 100755 (executable)
@@ -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