hi, i am currently using openssl 0.9.8l. i am trying to build it on Windows AMD platform. i am getting missing symbol issue while building static crypto library in FIPS mode.
if i build openssl 0.9.8l in non fips mode (i.e without passing fips --fipslibdir to Configure ) i get the below output after doing dumpbin on static crypto library. >dumpbin /SYMBOLS crypto.lib | grep -i HMAC_CTX_cleanup 01D 00000000 UNDEF notype () External | HMAC_CTX_cleanup 022 00000000 UNDEF notype () External | HMAC_CTX_cleanup 04F 00000000 SECT16 notype () External | HMAC_CTX_cleanup *052 00000000 SECT18 notype Static | $pdata$HMAC_CTX_cleanup* *055 00000000 SECT19 notype Static | $unwind$HMAC_CTX_cleanup* But when i tried to pass fips --fipslibdir ( i,e building crytpo static library in FIPS mode ) , above symbol HMAC_CTX_cleanup is missing .. >dumpbin /SYMBOLS crypto.lib | grep -i HMAC_CTX_cleanup 01D 00000000 UNDEF notype () External | HMAC_CTX_cleanup 022 00000000 UNDEF notype () External | HMAC_CTX_cleanup Any thoughts why the symbols are missing while building in FIPS mode , it works fine on UNIX platforms. The missing symbols are available in fipscanister.lib. Thanks Anil hmac-sha1.o : error LNK2019: unresolved external symbol _HMAC_CTX_cleanup referenced in function _hmac_sha1 hmac-sha1.o : error LNK2019: unresolved external symbol _HMAC_Final referenced in function _hmac_sha1 hmac-sha1.o : error LNK2019: unresolved external symbol _HMAC_Update referenced in function _hmac_sha1 hmac-sha1.o : error LNK2019: unresolved external symbol _HMAC_Init referenced in function _hmac_sha1 hmac-sha1.o : error LNK2019: unresolved external symbol _EVP_sha1 referenced in function _hmac_sha1