Hi,
The installation of opnssl-0.9.4.0 on NT with VC++ 6 without debugger as an option was fine. Then I installed NASM (freeware assembler), and use do_nasm with added 'debug' options to the mklmf.pl lines in the batch file. However the system would not compile in. There is a message : wrong data type for q (in ../crypto/bn/bn_div.c line 241) :
#if defined(BN_LLONG) && defined(BN_DIV2W) && !defined(bn_div_words)
q=((((BN_ULLONG)n0)<<BN_BITS2)|n1)/d0;
#else
In fact the system complained that q is of unsigned long type while it should be of _int64. I changed it in define section of bn.h BN_ULONG (which is the type of q) with unsigned _int64 and compiler accepted it. Unfortunately the compiler later stoped on the line 215 in ./apps/genrsa.c
l+=rsa->e->d[i];
The compiler complained that variable l should be of type _int64 instead of long. I changed it (in the same file) so that l is of type _int64. Compiler accepted it. However, when I tried the tests the system were not able to pass rsa related tests.
I am not sure wheter there is problem with installation batch files or the with NASM. Any suggestion?
Thanks in advance
Alex Cosic
