RE: [INTERNALS-WIN] TS implementation of crypt() for windows
[email protected] ("Andi Gutmans")
| Newsgroups | php.internals.win |
|---|---|
| Message-ID | <[email protected]> |
Where does this code come from? If license is OK for us we should make sure to specify source in code and give attribution. > -----Original Message----- > From: Pierre Joye [mailto:[email protected]] > Sent: Thursday, July 17, 2008 3:40 PM > To: [email protected] > Subject: [INTERNALS-WIN] TS implementation of crypt() for windows > > HI! > > Please find a new implementation of the crypt function for windows. > The current code is not thread safe and suffer from a security issue > since too long (we count in years now :P). > > Here is the patch: > > http://pierre.libgd.org/patches/crypt_r_win32.patch.txt > > It uses the CryptoAPI for the MD5 version and a classic crypt_r > implementation for DES to keep BC. I would have liked to use the > cryptoAPI as well but the crypt's DES is not standard. > > > Before I apply this patch, I would like to know if you see any issue :) > > Thanks for your feedbacks, > > Cheers, > -- > Pierre > > http://blog.thepimp.net | http://www.libgd.org > > -- > Windows Internals Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php