]> granicus.if.org Git - php/commit
- #45430, windows implementation of crypt is not TS
authorPierre Joye <pajoye@php.net>
Mon, 28 Jul 2008 11:34:53 +0000 (11:34 +0000)
committerPierre Joye <pajoye@php.net>
Mon, 28 Jul 2008 11:34:53 +0000 (11:34 +0000)
commit5ba946926fb7ffdb6c67189cceb323c8dc90c81b
tree896abaa142dc14615eb87846ba04db103021a30a
parent37f0549fb07970b1c9e8e3aa9b3faaddb5908801
- #45430, windows implementation of crypt is not TS
- add Blowfish (using implementation from Solar Designer <solar at openwal dot com>) and extended DES support
- Make crypt features portable:
  - if no crypt_r, php's implemetation is used (all algo and TS), php can't be used with unsafe crypt anymore
  - if one algo is missing, php's implemetation is used
  - Windows always use php's implementation
- removed old code in windows/
13 files changed:
ext/standard/config.m4
ext/standard/config.w32
ext/standard/crypt.c
ext/standard/crypt_blowfish.c [new file with mode: 0644]
ext/standard/crypt_freesec.c [new file with mode: 0644]
ext/standard/crypt_freesec.h [new file with mode: 0644]
ext/standard/php_crypt_r.c [new file with mode: 0644]
ext/standard/php_crypt_r.h [moved from win32/crypt_win32.h with 64% similarity]
win32/build/config.w32.h.in
win32/crypt_win32.c [deleted file]
win32/md5crypt.c [deleted file]
win32/md5crypt.h [deleted file]
win32/php_stdint.h [new file with mode: 0644]