<div dir="ltr">Hi<div><br></div><div> I retrieved and compiled official openssl 3 version from openssl site</div><div>configure the project with such command line</div><div><br></div><div>perl Configure enable-fips VC-WIN32 --debug --prefix=D:\outssl\Dll\x32\debug --openssldir=D:\outssl\ssl<br></div><div><br></div><div>nmake</div><div>nmake install</div><div><br></div><div>debug and release version tested</div><div><br></div><div>all seems fine even the compilation of fips.dll module</div><div><br></div><div>now I tried to create a command line too that just try to load the FIPS provider</div><div><font color="#ff9900"><br></font></div><div><font color="#ff9900"><b>OSSL_PROVIDER *fips;<br>fips = OSSL_PROVIDER_load(NULL, "fips");<br></b></font></div><div><br></div><div>in the output window of visual studio I can see that he fips.dll well loaded   then unloaded and fips pointer is returned as null</div><div><br></div><div><br></div><div>I tried to play with the openssl/cnf file that basically (without success) configured as follow</div><div><font color="#ff9900"><b><br>config_diagnostics = 1<br>openssl_conf = openssl_init<br><br>.include d:\outssl\ssl\fipsmodule.cnf<br><br><br># Extra OBJECT IDENTIFIER info:<br># oid_file       = $ENV::HOME/.oid<br>oid_section = new_oids<br><br>[openssl_init]<br>providers = provider_sect<br><br>[provider_sect]<br>base = base_sect<br>fips = fips_sect<br><br>[base_sect]<br>activate = 1</b></font><br><br></div><div><br></div><div>  my d:\outssl\ssl\fipsmodule.cnf file  is as follow  <br></div><div><br></div><div><b><font color="#ff9900">[fips_sect]</font></b></div><div><font color="#ff9900"><b>#activate = 0 is the value documented to force FIPS in the code but I  also tried 1 without more success</b><b><br>activate = 0 <br>conditional-errors = 1<br>security-checks = 1<br>module-mac = B9:FB:80:43:6A:58:FC:89:23:19:83:9F:A8:CE:FE:ED:52:F0:DA:93:1C:B9:F7:57:0A:BB:F3:E4:B0:EE:93:C9</b></font><br></div><div><b><font color="#f6b26b"><br></font></b></div><div><font color="#000000">I have the same problem in debug or release  .</font></div><div><font color="#000000"> if I do the same test with the legacy provider fips pointer is not null and seems correct</font></div><div><b style="color:rgb(255,153,0)">fips = OSSL_PROVIDER_load(NULL, "Legacy");</b><font color="#000000"><br></font></div><div><br></div><div>is someone have an idea  of what is my problem</div><div>is threr some debug info that I can enabled or check to make some progress?</div><div><br></div><div><br></div><div>Thanks in advance</div><div><br></div><div>Greg</div><div><br></div><div><br></div><div><b><font color="#f6b26b"><br></font></b></div><div><br></div><div><br></div></div>