I found the problem with borland 5.5.1 compiler and encryption self test failure on windows.
The macro to detect Endian in blowfish doesn't work for Borland - the fix is to define LITTLE_ENDIAN for borland. In the process I cleaned up sha2 completely. I will send a patch that fixes the blowfish for borland compiler and the cleaner sha2 soon. --- thanks, Mohsin. On Tue, May 4, 2010 at 11:47 PM, Mosh <[email protected]> wrote: > On Tue, May 4, 2010 at 3:59 AM, Chris Sutcliffe <[email protected]> wrote: >> On 4 May 2010 00:23, Patrick Texier wrote: >>> On Mon, 3 May 2010 13:23:48 -0700, Mosh wrote: >>> >>>> No more problems, it works on window32 bit (XP with VC60) and linux 64 >>>> bits gcc, >>>> ones I tested on. >>> >>> I'm waiting a patch for Borland C++ 5.5.1. I had a problem with a >>> 64-bits integer type declaration. >>> >>> Can you send me the last version, please? >> >> If you could send it to the list it would be greatly appreciated, >> since I would like to test it with MinGW. > > The typedef error in sha2.h with borland bcc 551 was easy to fix, > BUT borland bcc 551 is generating different code causing sha2 self > test to fail. I will debug sha2 self test in borland. It is small enough > but bunch of nasty macros to manipulate bits. > > I may replace the file sha2.c with another more portable version of the code > as a last resort. > > > > >> >> Thank you, >> >> Chris >> >> -- >> Chris Sutcliffe >> http://emergedesktop.org >> http://www.google.com/profiles/ir0nh34d >> >> -- >> You received this message from the "vim_dev" maillist. >> Do not top-post! Type your reply below the text you are replying to. >> For more information, visit http://www.vim.org/maillist.php >> > -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
