<div dir="ltr"><span style="font-size:12.8px">Hi All,</span><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><span style="font-size:11pt;font-family:Calibri,sans-serif">I have built Openssl-fips-2.0.10.tar on<b> RHEL Linux</b> (<i><u><b>Same happens with Solaris 10</b></u></i>). Then I built Openssl-1.0.1p using respective fips object module (i.e. Openssl-fips-2.0.10.tar).</span></div><div style="font-size:12.8px"><span style="font-size:11pt;font-family:Calibri,sans-serif"><br></span></div><div style="font-size:12.8px"><span style="font-size:11pt;font-family:Calibri,sans-serif">Once I have built Openssl-1.0.1p, libcrypto.a and libssl.a has been created.</span></div><div style="font-size:12.8px"><span style="font-size:11pt;font-family:Calibri,sans-serif">I need to join these 2 libraries and make it one.</span></div><div style="font-size:12.8px"><span style="font-size:11pt;font-family:Calibri,sans-serif"><br></span></div><div style="font-size:12.8px"><span style="font-size:11pt;font-family:Calibri,sans-serif">I am doing it using "ar" command as follows:</span></div><div style="font-size:12.8px"><span style="font-size:11pt;font-family:Calibri,sans-serif"><br></span></div><div style="font-size:12.8px"><span style="font-size:11pt;font-family:Calibri,sans-serif">ar -x libssl.a</span></div><div style="font-size:12.8px"><span style="font-size:11pt;font-family:Calibri,sans-serif">ar -x libcrypto.a</span></div><div style="font-size:12.8px"><span style="font-size:11pt;font-family:Calibri,sans-serif"><br></span></div><div style="font-size:12.8px"><span style="font-size:11pt;font-family:Calibri,sans-serif">Then combine all .o files to make third library:</span></div><div style="font-size:12.8px"><span style="font-size:11pt;font-family:Calibri,sans-serif">ar -r libnew.a *.o</span></div><div style="font-size:12.8px"><span style="font-size:11pt;font-family:Calibri,sans-serif"><br></span></div><div style="font-size:12.8px"><font face="Calibri, sans-serif"><span style="font-size:11pt">But when i use this libnew.a in my sample(contain FIPS_mode_set(1)), it compiles </span><span style="font-size:14.6667px">successfully</span><span style="font-size:11pt"> but when execute the executable it throws error<b> finger print does not match:fips.c:232</b></span></font></div><div style="font-size:12.8px"><span style="font-size:11pt;font-family:Calibri,sans-serif"><br></span></div><div style="font-size:12.8px"><span style="font-size:11pt;font-family:Calibri,sans-serif"> Plz help.</span></div><div style="font-size:12.8px"><font face="Calibri, sans-serif"><span style="font-size:14.6667px"> I need to combine both libaries and make it one.</span></font></div><div style="font-size:12.8px"><font face="Calibri, sans-serif"><span style="font-size:14.6667px"><br></span></font></div><div style="font-size:12.8px"><font face="Calibri, sans-serif"><span style="font-size:14.6667px">Any help/suggestion?</span></font></div><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><span style="color:rgb(102,102,102)">Sahil Gandhi</span></div><div class="gmail_signature" data-smartmail="gmail_signature"><br><input type="hidden"><input type="hidden"><div></div></div>
</div>