summaryrefslogtreecommitdiff
path: root/ext/openssl
diff options
context:
space:
mode:
authorGabriel Caruso <carusogabriel34@gmail.com>2018-02-04 22:16:50 -0200
committerChristoph M. Becker <cmbecker69@gmx.de>2018-02-06 16:59:00 +0100
commit2d48d734a20192a10792669baaa88dbe86f2b3a6 (patch)
tree7fc432c83d72e936dfa645611049d9d95a77d47f /ext/openssl
parent91b09c7aa6b88b276a02ee0f00277917efc54570 (diff)
downloadphp-git-2d48d734a20192a10792669baaa88dbe86f2b3a6.tar.gz
Fix some misspellings
Diffstat (limited to 'ext/openssl')
-rw-r--r--ext/openssl/tests/openssl_encrypt_error.phpt2
-rw-r--r--ext/openssl/tests/openssl_error_string_basic.phpt2
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/openssl/tests/openssl_encrypt_error.phpt b/ext/openssl/tests/openssl_encrypt_error.phpt
index ea69ad9ee2..ea39bff604 100644
--- a/ext/openssl/tests/openssl_encrypt_error.phpt
+++ b/ext/openssl/tests/openssl_encrypt_error.phpt
@@ -12,7 +12,7 @@ $wrong = "wrong";
$object = new stdclass;
$arr = array(1);
-// wrong paramters tests
+// wrong parameters tests
var_dump(openssl_encrypt($data, $wrong, $password));
var_dump(openssl_encrypt($object, $method, $password));
var_dump(openssl_encrypt($data, $object, $password));
diff --git a/ext/openssl/tests/openssl_error_string_basic.phpt b/ext/openssl/tests/openssl_error_string_basic.phpt
index 04cc5508a4..9293a704d2 100644
--- a/ext/openssl/tests/openssl_error_string_basic.phpt
+++ b/ext/openssl/tests/openssl_error_string_basic.phpt
@@ -90,7 +90,7 @@ expect_openssl_errors('openssl_pkey_export_to_file pem', ['0906D06C']);
// file to export cannot be written
@openssl_pkey_export_to_file($private_key_file, $invalid_file_for_write);
expect_openssl_errors('openssl_pkey_export_to_file write', ['2006D002']);
-// succesful export
+// successful export
@openssl_pkey_export($private_key_file_with_pass, $out, 'wrong pwd');
expect_openssl_errors('openssl_pkey_export', ['06065064', '0906A065']);
// invalid x509 for getting public key