cvs: php-src(PHP_5_3) /ext/standard crypt_blowfish.c
| From: | Pierre-Alain Joye | Date: | Mon, 08 Jun 2009 08:44:16 +0000 |
| Subject: | cvs: php-src(PHP_5_3) /ext/standard crypt_blowfish.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-58550@lists.php.net to get a copy of this message | ||
pajoye Mon Jun 8 08:44:16 2009 UTC
Modified files: (Branch: PHP_5_3)
/php-src/ext/standard crypt_blowfish.c
Log:
- sync with 1.0.2, improve perf x86-64 (patch by Solar Designer)
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/crypt_blowfish.c?r1=1.1.2.3&r2=1.1.2.4&diff_format=u
Index: php-src/ext/standard/crypt_blowfish.c
diff -u php-src/ext/standard/crypt_blowfish.c:1.1.2.3 php-src/ext/standard/crypt_blowfish.c:1.1.2.4
--- php-src/ext/standard/crypt_blowfish.c:1.1.2.3 Tue Jul 29 01:20:28 2008
+++ php-src/ext/standard/crypt_blowfish.c Mon Jun 8 08:44:15 2009
@@ -1,5 +1,5 @@
/*
- $Id: crypt_blowfish.c,v 1.1.2.3 2008/07/29 01:20:28 scottmac Exp $
+ $Id: crypt_blowfish.c,v 1.1.2.4 2009/06/08 08:44:15 pajoye Exp $
*/
/*
* This code comes from John the Ripper password cracker, with reentrant
@@ -54,7 +54,7 @@
#ifdef __i386__
#define BF_ASM 0
#define BF_SCALE 1
-#elif defined(__alpha__) || defined(__hppa__)
+#elif defined(__x86_64__) || defined(__alpha__) || defined(__hppa__)
#define BF_ASM 0
#define BF_SCALE 1
#else