More refactoring of crypt into php_crypt, and fixing memory allocation

This commit is contained in:
Anthony Ferrara 2012-06-29 11:32:25 -04:00
parent 9e18e578f0
commit 9c1445c6bc
3 changed files with 23 additions and 45 deletions

View file

@ -23,7 +23,7 @@
#ifndef PHP_CRYPT_H
#define PHP_CRYPT_H
PHPAPI int crypt_execute(const char *password, const int pass_len, const char *salt, int salt_len, char **result);
PHPAPI int php_crypt(const char *password, const int pass_len, const char *salt, int salt_len, char **result);
PHP_FUNCTION(crypt);
#if HAVE_CRYPT
PHP_MINIT_FUNCTION(crypt);