test/crypto: return correct value if feature not supported