CVS update: php3/functions
| From: | rasmus | Date: | Wed, 31 Mar 1999 04:18:51 +0000 |
| Subject: | CVS update: php3/functions | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-4850@lists.php.net to get a copy of this message | ||
Date: Tuesday March 30, 1999 @ 23:18
Author: rasmus
Update of /repository/php3/functions
In directory asf:/u/temp/cvs-serv29100/functions
Modified Files:
crypt.c
Log Message:
Add defines so user can check which encryption mechanisms are supported
by the crypt() function
Index: php3/functions/crypt.c
diff -c php3/functions/crypt.c:1.43 php3/functions/crypt.c:1.44
*** php3/functions/crypt.c:1.43 Tue Mar 30 07:55:12 1999
--- php3/functions/crypt.c Tue Mar 30 23:18:51 1999
***************
*** 28,34 ****
| Rasmus Lerdorf <rasmus@lerdorf.on.ca> |
+----------------------------------------------------------------------+
*/
! /* $Id: crypt.c,v 1.43 1999/03/30 12:55:12 rasmus Exp $ */
#include <stdlib.h>
#include "php.h"
--- 28,34 ----
| Rasmus Lerdorf <rasmus@lerdorf.on.ca> |
+----------------------------------------------------------------------+
*/
! /* $Id: crypt.c,v 1.44 1999/03/31 04:18:51 rasmus Exp $ */
#include <stdlib.h>
#include "php.h"
***************
*** 110,115 ****
--- 110,119 ----
REGISTER_LONG_CONSTANT("CRYPT_SALT_LENGTH", 12, CONST_CS | CONST_PERSISTENT);
#endif
#endif
+ REGISTER_LONG_CONSTANT("CRYPT_STD_DES", PHP3_STD_DES_CRYPT, CONST_CS |
CONST_PERSISTENT);
+ REGISTER_LONG_CONSTANT("CRYPT_EXT_DES", PHP3_EXT_DES_CRYPT, CONST_CS |
CONST_PERSISTENT);
+ REGISTER_LONG_CONSTANT("CRYPT_MD5", PHP3_MD5_CRYPT, CONST_CS | CONST_PERSISTENT);
+ REGISTER_LONG_CONSTANT("CRYPT_BLOWFISH", PHP3_BLOWFISH_CRYPT, CONST_CS |
CONST_PERSISTENT);
return SUCCESS;
}
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net