mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-05-12 03:16:25 +08:00
Add PHP Extension for GmSSL
View http://gmssl.org/docs/php-api.html for more info.
This commit is contained in:
16
php/ext/openssl/tests/openssl_get_cipher_methods.phpt
Normal file
16
php/ext/openssl/tests/openssl_get_cipher_methods.phpt
Normal file
@@ -0,0 +1,16 @@
|
||||
--TEST--
|
||||
openssl_get_cipher_methods basic test
|
||||
--CREDITS--
|
||||
marcosptf - <marcosptf@yahoo.com.br>
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!extension_loaded("openssl")) print "skip";
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
var_dump(is_array(openssl_get_cipher_methods(true)));
|
||||
var_dump(is_array(openssl_get_cipher_methods(false)));
|
||||
?>
|
||||
--EXPECT--
|
||||
bool(true)
|
||||
bool(true)
|
||||
Reference in New Issue
Block a user