<div dir="ltr"><div style="font-family:'Helvetica Neue';font-size:14px">Hello,</div><div style="font-family:'Helvetica Neue';font-size:14px"><br></div><div style="font-family:'Helvetica Neue';font-size:14px">I’m trying to statically link OpenSSL to my C++ shared library application on Linux. I’ve followed the instructions outlined in the Fipsld and C++ Wiki page and everything builds fine. However I’m getting a fingerprint mismatch when calling FIPS_mode_set. If I change my shared library to an executable (by adding a main function) everything works fine.</div><div style="font-family:'Helvetica Neue';font-size:14px"><br></div><div style="font-family:'Helvetica Neue';font-size:14px">Besides building fipspremain.c with -x c / -x none (as per the Wiki page) and specifying the -dso flag for the incore script, is there anything else that I may be missing? The Wiki page covers building executables, but I didn’t think there was much difference between the two. </div><div style="font-family:'Helvetica Neue';font-size:14px"><br></div><div style="font-family:'Helvetica Neue';font-size:14px"><br></div><div style="font-family:'Helvetica Neue';font-size:14px">Thanks,</div><div style="font-family:'Helvetica Neue';font-size:14px">Gustavo </div></div>