]> granicus.if.org Git - php/commitdiff
Update error messages to be more inline with PHP standards
authorAnthony Ferrara <ircmaxell@gmail.com>
Tue, 12 Jun 2012 18:10:35 +0000 (14:10 -0400)
committerAnthony Ferrara <ircmaxell@gmail.com>
Tue, 12 Jun 2012 18:10:35 +0000 (14:10 -0400)
ext/hash/hash.c

index 71f3753dab5b99e6d2130e2a5b0f78703e3dfdbf..40023f75b8a15ed6807d225ad0b18afbd127e1b7 100644 (file)
@@ -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;
        }