Dear OpenSSL Users,
This is my first interaction in this community.
While am trying to build the latest openssl-1.0.2r code on CE-X86 platform, it fails with the below error:
.\crypto\rsa\rsa_pk1.c(296) : warning C4761: integral size mismatch in argument
.\crypto\rsa\rsa_pk1.c(296) : error C2220: warning treated as error - no object
NMAKE : fatal error U1077: 'cl.exe' : return code '0x2'
The below is the failing line (Line# 296) in rsa_pk1.c
to[i] = constant_time_select_8(mask, from[i], to[i]);
(Here the second parameter takes a unsigned char data type while the passed one is a
const unsigned char )
Can I fix this just by type casting to unsigned char using a Perl patch? Is there a better way to fix this?