Hi, I am trying to compile FIPS capable openssl and I am using --with-fipslibdir switch which points to fipscanister.o. When I do this I see compilation errors
Compiling FIPS Object Module: ./config --install_prefix=/home/test_user/fips make make install Compiling Openssl ./config fips --with-fipslibdir=/home/test_user/fips/usr/local/ssl/fips-2.0/lib/ make depend make Errors: In file included from o_fips.c:61: /usr/include/openssl/fips_rand.h:61: error: expected declaration specifiers or â...â before âFIPS_RAND_SIZE_Tâ /usr/include/openssl/fips_rand.h:62: error: expected declaration specifiers or â...â before âFIPS_RAND_SIZE_Tâ /usr/include/openssl/fips_rand.h:63: error: expected declaration specifiers or â...â before âFIPS_RAND_SIZE_Tâ o_fips.c: In function âFIPS_modeâ: o_fips.c:69: warning: implicit declaration of function âFIPS_module_modeâ o_fips.c: In function âFIPS_mode_setâ: o_fips.c:82: warning: implicit declaration of function âFIPS_module_mode_setâ o_fips.c:85: warning: implicit declaration of function âFIPS_rand_get_methodâ o_fips.c:85: warning: passing argument 1 of âRAND_set_rand_methodâ makes pointer from integer without a cast ../include/openssl/rand.h:95: note: expected âconst struct RAND_METHOD *â but argument is of type âintâ make[1]: *** [o_fips.o] Error 1 make[1]: Leaving directory `/home/test_user/ssl/openssl-1.0.1c/crypto' make: *** [build_crypto] Error 1 Can someone please let me know if I am missing anything trivial? Santhosh