cvs: /php3/functions mcrypt.c
| From: | Sascha Schumann | Date: | Sun, 21 Nov 1999 22:57:49 +0000 |
| Subject: | cvs: /php3/functions mcrypt.c | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-12884@lists.php.net to get a copy of this message | ||
sas Sun Nov 21 17:57:49 1999 EDT
Modified files:
/php3/functions mcrypt.c
Log:
(php3_minit_mcrypt) allow newer API versions of mcrypt as well
Index: php3/functions/mcrypt.c
diff -u php3/functions/mcrypt.c:1.13 php3/functions/mcrypt.c:1.14
--- php3/functions/mcrypt.c:1.13 Sun Nov 21 03:20:50 1999
+++ php3/functions/mcrypt.c Sun Nov 21 17:57:48 1999
@@ -135,7 +135,7 @@
REGISTER_LONG_CONSTANT("MCRYPT_RAND", 2, CONST_PERSISTENT);
/* ciphers */
-#if defined(MCRYPT_API_VERSION) && MCRYPT_API_VERSION == 19991015
+#if defined(MCRYPT_API_VERSION) && MCRYPT_API_VERSION >= 19991015
MCRYPT_ENTRY2(BLOWFISH_448);
MCRYPT_ENTRY2(DES);
MCRYPT_ENTRY2(3DES);