summaryrefslogtreecommitdiff
path: root/ext/standard/password.c
diff options
context:
space:
mode:
authorMax Semenik <maxsem.wiki@gmail.com>2020-07-01 16:32:55 +0300
committerMáté Kocsis <kocsismate@woohoolabs.com>2020-07-06 21:13:34 +0200
commit2b5de6f839feea0ae1d5289d59dd7f159fcdcc8c (patch)
treef23a5c00a96f30a62ddcf626b4c6a6d53809d14f /ext/standard/password.c
parent47579986504022d3eab38e24fff5861d5e4eadad (diff)
downloadphp-git-2b5de6f839feea0ae1d5289d59dd7f159fcdcc8c.tar.gz
Remove proto comments from C files
Closes GH-5758
Diffstat (limited to 'ext/standard/password.c')
-rw-r--r--ext/standard/password.c14
1 files changed, 5 insertions, 9 deletions
diff --git a/ext/standard/password.c b/ext/standard/password.c
index 1616cf8774..ea28ee6145 100644
--- a/ext/standard/password.c
+++ b/ext/standard/password.c
@@ -560,8 +560,7 @@ const php_password_algo* php_password_algo_identify_ex(const zend_string* hash,
return (!algo || (algo->valid && !algo->valid(hash))) ? default_algo : algo;
}
-/* {{{ proto array|null password_get_info(string $hash)
-Retrieves information about a given hash */
+/* {{{ Retrieves information about a given hash */
PHP_FUNCTION(password_get_info)
{
const php_password_algo *algo;
@@ -601,8 +600,7 @@ PHP_FUNCTION(password_get_info)
}
/** }}} */
-/* {{{ proto bool password_needs_rehash(string $hash, mixed $algo[, array $options])
-Determines if a given hash requires re-hashing based upon parameters */
+/* {{{ Determines if a given hash requires re-hashing based upon parameters */
PHP_FUNCTION(password_needs_rehash)
{
const php_password_algo *old_algo, *new_algo;
@@ -633,8 +631,7 @@ PHP_FUNCTION(password_needs_rehash)
}
/* }}} */
-/* {{{ proto bool password_verify(string password, string hash)
-Verify a hash created using crypt() or password_hash() */
+/* {{{ Verify a hash created using crypt() or password_hash() */
PHP_FUNCTION(password_verify)
{
zend_string *password, *hash;
@@ -650,8 +647,7 @@ PHP_FUNCTION(password_verify)
}
/* }}} */
-/* {{{ proto string password_hash(string password, mixed algo[, array options = array()])
-Hash a password */
+/* {{{ Hash a password */
PHP_FUNCTION(password_hash)
{
zend_string *password, *digest = NULL;
@@ -686,7 +682,7 @@ PHP_FUNCTION(password_hash)
}
/* }}} */
-/* {{{ proto array password_algos() */
+/* {{{ */
PHP_FUNCTION(password_algos) {
zend_string *algo;