summaryrefslogtreecommitdiff
path: root/ext/sodium
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2019-09-10 10:08:07 +0200
committerChristoph M. Becker <cmbecker69@gmx.de>2019-09-10 10:08:07 +0200
commit318b92dc12f31261a0bc91f34f663179148e2830 (patch)
tree6db6702b9d1560f6630d79e7f97d5401edb0f0ca /ext/sodium
parent3f2d5c612e11f519f48b0f624190978dd1b5fc8b (diff)
parentbca66002f11edcb2b6288bf8bcc0720a1803877b (diff)
downloadphp-git-318b92dc12f31261a0bc91f34f663179148e2830.tar.gz
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2: Drop regression test
Diffstat (limited to 'ext/sodium')
-rw-r--r--ext/sodium/tests/bug78510.phpt14
1 files changed, 0 insertions, 14 deletions
diff --git a/ext/sodium/tests/bug78510.phpt b/ext/sodium/tests/bug78510.phpt
deleted file mode 100644
index dc7e478424..0000000000
--- a/ext/sodium/tests/bug78510.phpt
+++ /dev/null
@@ -1,14 +0,0 @@
---TEST--
-Bug #78510 (Partially uninitialized buffer returned by sodium_crypto_generichash_init())
---SKIPIF--
-<?php
-if (!extension_loaded("sodium")) print "skip extension not loaded";
-?>
---FILE--
-<?php
-$key = hex2bin('36be2998c85757e98c1abf3687c8db3a849a393701c05454023d9aba1096fd47');
-$y = sodium_crypto_generichash_init($key, 64);
-var_dump(bin2hex($y));
-?>
---EXPECT--
-string(768) "48e9bdf267e6096a3ba7ca8485ae67bb2bf894fe72f36e3cf1361d5f3af54fa5d182e6ad7f520e511f6c3e2b8c68059b6bbd41fbabd9831f79217e1319cde05b000000000000000000000000000000000000000000000000000000000000000036be2998c85757e98c1abf3687c8db3a849a393701c05454023d9aba1096fd4700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000"