Hello, just a simple patch. In the following two lines an explicit typecast
to unsigned long is missing.

Best regards,
Stefan Marxen

---------------------------------------
FILEi crypto\asn1\a_strnid.c
FUNCTION: int ASN1_STRING_set_default_mask_asc(char *p)

LINE 108:
new: mask = ~((unsigned long)(B_ASN1_BMPSTRING|B_ASN1_UTF8STRING));
old: mask = ~(B_ASN1_BMPSTRING|B_ASN1_UTF8STRING);

LINE 110:
new: mask = ~((unsigned long)B_ASN1_T61STRING);
old: mask = ~B_ASN1_T61STRING;

---------------------------------------
Possibly some compilers will just issue a warning, however the microsoft
compiler noticed these as an error. The following error occured.

cl /Fotmp32dll\a_strnid.obj  -Iinc32 -Itmp32dll /MD /W3 /WX /G5 /Ox /O2 /Ob2
/Gs0 /GF /Gy /nologo -DWIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -DDSO_WIN32 /
Fdout32dll /GD -D_WINDLL -D_DLL  -c .\crypto\asn1\a_strnid.c
a_strnid.c
.\crypto\asn1\a_strnid.c(109) : warning C4245: '=' : conversion from 'const
int
' to 'unsigned long ', signed/unsigned mismatch
.\crypto\asn1\a_strnid.c(109) : error C2220: warning treated as error - no
objec
t file generated
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.




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

Reply via email to