>> _lrotl and _lrotr can be used. This is not case
>> and consequently, the linker will complain vigourously.
>
>Thanks for the report! (I wonder why the linker didn't complain when
>I built the test programs?)
>
>What is the macro to test for VC++?
I'm not certain, since I don't have VC++, but I believe
#if defined(_MSC_VER) && defined(WIN32)
#define rotate_left(a,n) _lrotl(a,n)
#define rotate_right(a,n) _lrotr(a,n)
#else
#define rotate_left(a,n)
(((a)<<(n&0x1f))|(((a)&0xffffffff)>>(32-(n&0x1f))))
#define rotate_right(a,n)
(((a)<<(32-(n&0x1f)))|(((a)&0xffffffff)>>(n&0x1f)))
#endif
should work.
-Brian
_____________________________________________
NetZero - Defenders of the Free World
Click here for FREE Internet Access and Email
http://www.netzero.net/download/index.html
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]