Date: 03/30/99
- Next message: rasmus: "[PHP-DEV] CVS update: php3/doc/functions"
- Previous message: Hironori Sato: "Re: [PHP-DEV] Multi byte Support"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 <email protected>> |
+----------------------------------------------------------------------+
*/
! /* $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 <email protected>> |
+----------------------------------------------------------------------+
*/
! /* $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 <email protected> For help: php-dev-help <email protected>
- Next message: rasmus: "[PHP-DEV] CVS update: php3/doc/functions"
- Previous message: Hironori Sato: "Re: [PHP-DEV] Multi byte Support"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

