summaryrefslogtreecommitdiff
path: root/ext/mcrypt/mcrypt.c
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>1999-05-21 08:20:13 +0000
committerSascha Schumann <sas@php.net>1999-05-21 08:20:13 +0000
commitfb407676a29912710690532e92a3a4433cc14ff6 (patch)
treefe3b52e8f23a283a07db426be86f3a97c43a54c6 /ext/mcrypt/mcrypt.c
parent0fe7fe30b576d34155aad1f32a1bbd23eada93e4 (diff)
downloadphp-git-fb407676a29912710690532e92a3a4433cc14ff6.tar.gz
- fix compile issues for various packages (dbase, sysv*, zlib)
- some cleanup in mhash/mcrypt
Diffstat (limited to 'ext/mcrypt/mcrypt.c')
-rw-r--r--ext/mcrypt/mcrypt.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/ext/mcrypt/mcrypt.c b/ext/mcrypt/mcrypt.c
index 6548ea2c16..a29e655499 100644
--- a/ext/mcrypt/mcrypt.c
+++ b/ext/mcrypt/mcrypt.c
@@ -34,8 +34,8 @@
#include "php_mcrypt.h"
#include "fcntl.h"
-/* we should find a way to figure out whether RC6/IDEA are available */
#define NON_FREE
+#define MCRYPT2
#include "mcrypt.h"
function_entry mcrypt_functions[] = {
@@ -138,8 +138,10 @@ static int php_minit_mcrypt(INIT_FUNC_ARGS)
MCRYPT_ENTRY(TripleDES);
MCRYPT_ENTRY(ThreeWAY);
MCRYPT_ENTRY(GOST);
-#ifdef MCRYPT2
+#ifdef CRYPT
MCRYPT_ENTRY(CRYPT);
+#endif
+#ifdef DES_COMPAT
MCRYPT_ENTRY(DES_COMPAT);
#endif
MCRYPT_ENTRY(SAFER64);