Change guard for AES, RDRAND and RDSEED. There's no sense in performing the test if none of the features are available

pull/186/head
Jeffrey Walton 2016-06-05 22:31:10 -04:00
parent 5c311d7fab
commit 370483c7aa
1 changed files with 1 additions and 1 deletions

View File

@ -1674,7 +1674,7 @@ fi
############################################
# Modern compiler and old hardware, like PII, PIII or Core2
if [ "$IS_X86" -ne "0" ] || [ "$IS_X64" -ne "0" ]; then
if [ "$HAVE_X86_AES" -ne "0" ] || [ "$HAVE_X86_RDRAND" -ne "0" ] || [ "$HAVE_X86_RDSEED" -ne "0" ]; then
echo
echo "************************************" | tee -a "$TEST_RESULTS"