Bram,

No more problems, it works on window32 bit (XP with VC60) and linux 64 bits gcc,
ones I tested on.

Note 1.The selftest routine is using my name as a testcase,
i.e. self test is doing assert(encrypt(fixed string) == known-value),
You can change the fixed string to anything else you like and insert
the new result into the source code. This self test  warns about
any cross platform errors (like the one Dominque emailed about).

thanks
mohsin


2010/5/3 Bram Moolenaar <[email protected]>:
>
> Mosh wrote:
>
>> Dominique,
>>
>> Resending the updated files as patch2.zip,
>>
>> 1. Fixed one issue with 64 bit gcc;  gcc did NOT issue any warnings for this:
>>     unsigned long ul = 0xf1234567; // no warings from gcc or msvc
>> compiler about sign extension happening here.
>>     // ul = 0xfffffffff1234567;
>> Changed to:
>>     unsigned long ul = 0xf1234567U;
>>
>> 2 Some updates to sha2 and cleanup as you suggested below.
>
> What is the status of this patch now?  Any remaining problems?
>
> --
> Everybody wants to go to heaven, but nobody wants to die.
>
>  /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
> ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
> \\\        download, build and distribute -- http://www.A-A-P.org        ///
>  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
>

-- 
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

Raspunde prin e-mail lui