summaryrefslogtreecommitdiff
path: root/ext/sodium/tests/pwhash_scrypt.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/sodium/tests/pwhash_scrypt.phpt')
-rw-r--r--ext/sodium/tests/pwhash_scrypt.phpt4
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/sodium/tests/pwhash_scrypt.phpt b/ext/sodium/tests/pwhash_scrypt.phpt
index 8e02f7ba0e..59b5647a91 100644
--- a/ext/sodium/tests/pwhash_scrypt.phpt
+++ b/ext/sodium/tests/pwhash_scrypt.phpt
@@ -1,7 +1,9 @@
--TEST--
Check for libsodium scrypt
+--EXTENSIONS--
+sodium
--SKIPIF--
-<?php if (!extension_loaded("sodium")) print "skip";
+<?php
if (!defined('SODIUM_CRYPTO_PWHASH_SCRYPTSALSA208SHA256_SALTBYTES')) print "skip libsodium without scrypt"; ?>
--FILE--
<?php