- I have build a 
FIPS capable openssllibrary. OpensslVersion1.0.2tandFIPS object module 2.0.16.- I was reading the user guide for 
FIPS object modulewhich told that the last step in building a program withFIPS capable opensslwas to usefipsldto link my program withopensslrather thangcc/ldas it computessha1sumoffipscansiter.ousingfipsprelim.c. - After this I need to call 
FIPS_mode_set(1)which enablesfipsmode. - This works if I am generating a executable. But in my project we provide a 
staticlibrary to our customers and we resolve all dependencies at our end, so we unpacklibcrypto.ausingar x libcrypto.aand add all theopensslobject files to our static librarylibapi.a. - There is one class(
API_DigitalSignature.cpp) which is build as a wrapper aroundopensslapi for digital signature. 
Now the problem is I am confused on how should I use fipsld in my project because I am not generating a program but rather just an archive?
Also I clarified with some security persons that unpacking libcrypto.a doesn't  affect FIPS validation unless we are changing any ciphers.