From 99b94fbb5c4fa622f7a57b754e98399930f53bf7 Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Mon, 6 May 2019 02:10:06 +0200 Subject: [PATCH] Remove redundant example/test libsodium.php file --- ext/sodium/libsodium.php | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 ext/sodium/libsodium.php diff --git a/ext/sodium/libsodium.php b/ext/sodium/libsodium.php deleted file mode 100644 index bb18faff19..0000000000 --- a/ext/sodium/libsodium.php +++ /dev/null @@ -1,24 +0,0 @@ -"; - -if(!extension_loaded('libsodium')) { - dl('libsodium.' . PHP_SHLIB_SUFFIX); -} -$module = 'libsodium'; -$functions = get_extension_funcs($module); -echo "Functions available in the test extension:$br\n"; -foreach($functions as $func) { - echo $func."$br\n"; -} -echo "$br\n"; -$function = 'sodium_memzero'; -$exit = 0; -if (extension_loaded($module)) { - $str = $function($module); -} else { - $str = "Module $module is not compiled into PHP"; - $exit = 255; -} -echo "$str\n"; -exit($exit); -?> -- 2.40.0