Hello openssl-dev!

  I've tried to compile OpenSSL openssl-0.9.6c under Microsoft Visual
  C++ V7 (which comes with Visual Studio .NET). There everything was
  OK except a warning in crypto/rsa/rsa_oaep.c, line 181. This warning
  was treated as error and prevented from further compilation. The
  warning was that "long" has been assigned to "unsigned char". I've
  fixed this warning by explicitly specifying the type (unsigned char):

                cnt[0] = (unsigned char) (i >> 24) & 255, cnt[1] = (unsigned char) (i 
>> 16) & 255,
                        cnt[2] = (unsigned char) (i >> 8) & 255, cnt[3] = (unsigned 
char)i & 255;

  And now it compiles OK. Please update crypto/rsa/rsa_oaep.c.

  Thank you in advance!
                        
-- 
Maxim Masiutin
http://www.ritlabs.com/

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to