f16547aeb1
with OpenSSL 0.9.5a, instead of requiring only OpenSSL 0.9.6 These patches detect the revelant version and use the additional return values in 0.9.6 only if present. This also unbreaks the SNMP flavor on 2.8-stable, which requires SSL support, since our UCD-SNMP daemon has OpenSSL compiled into it (wierd, but thats how the PHP snmp-config.m4 works) - Add OpenSSL patches - Add note crypt.c patch that its now in 4.0.5-dev and can be removed soon - Add --with-openssl to the standard set of configure options
17 lines
459 B
C
17 lines
459 B
C
$OpenBSD: patch-crypt.c,v 1.3 2001/01/07 21:08:12 avsm Exp $
|
|
|
|
NOTE: This patch has been added to php-4.0.5-dev and can be
|
|
removed in the next release.
|
|
|
|
--- ext/standard/crypt.c.orig Mon Nov 27 13:31:21 2000
|
|
+++ ext/standard/crypt.c Sun Jan 7 18:31:47 2001
|
|
@@ -71,7 +71,7 @@ extern char *crypt(char *__key,char *__s
|
|
|
|
#if PHP_BLOWFISH_CRYPT
|
|
#undef PHP_MAX_SALT_LEN
|
|
-#define PHP_MAX_SALT_LEN 17
|
|
+#define PHP_MAX_SALT_LEN 60 /* For OpenBSD */
|
|
#endif
|
|
|
|
/*
|