summaryrefslogtreecommitdiff
path: root/ext/hash
diff options
context:
space:
mode:
authorAnthony Ferrara <ircmaxell@gmail.com>2012-06-12 14:10:35 -0400
committerAnthony Ferrara <ircmaxell@gmail.com>2012-06-12 14:10:35 -0400
commitdf3d351cad7ecc2b6087e7f26edf6fa8b22cd960 (patch)
tree98a320f746a013333092e0e59bf11c5929aef036 /ext/hash
parent4918acccc6bd23f907b6712bdd04fcd265a411b0 (diff)
downloadphp-git-df3d351cad7ecc2b6087e7f26edf6fa8b22cd960.tar.gz
Update error messages to be more inline with PHP standards
Diffstat (limited to 'ext/hash')
-rw-r--r--ext/hash/hash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/hash/hash.c b/ext/hash/hash.c
index 71f3753dab..40023f75b8 100644
--- a/ext/hash/hash.c
+++ b/ext/hash/hash.c
@@ -629,12 +629,12 @@ PHP_FUNCTION(hash_pbkdf2)
}
if (iterations <= 0) {
- php_error_docref(NULL TSRMLS_CC, E_WARNING, "Iterations Must Be A Positive Integer: %ld", iterations);
+ php_error_docref(NULL TSRMLS_CC, E_WARNING, "Iterations must be a positive integer: %ld", iterations);
RETURN_FALSE;
}
if (length < 0) {
- php_error_docref(NULL TSRMLS_CC, E_WARNING, "Length Must Be Greater Than Or Equal To 0: %ld", length);
+ php_error_docref(NULL TSRMLS_CC, E_WARNING, "Length must be greater than or equal to 0: %ld", length);
RETURN_FALSE;
}