[openssl-dev] [openssl.org #4300] BUG: Solaris FIPS container does not redefine bn_mul_mont_fpu in fipssyms.h

Engstrom, John via RT rt at openssl.org
Tue Feb 9 22:25:47 UTC 2016


When building an OpenSSL shared library on Solaris with FIPS support you get a multiply defined symbol error:

ld: fatal: symbol 'bn_mul_mont_fpu' is multiply-defined: 
(file /usr/local/ssl/fips-2.0/lib//fipscanister.o type=FUNC; file 
libcrypto.a(sparcv9a-mont.o) type=FUNC); 
ld: fatal: file processing errors. No output written to libcrypto.so.1.0.0 
make[4]: *** [link_a.solaris] Error 1 


This traces back to the fipssyms.h header file NOT defining bn_mul_mont_fpu when building the fipscanister.  NOTE: the bn_mul_mont_fpu function in the SPARC assembly file (sparcv9a-mont.s) would also need to get redefined as fips_bn_mul_mont.

Thanks,
John Engstrom
john.engstrom at tditechnologies.com

-- 
Ticket here: http://rt.openssl.org/Ticket/Display.html?id=4300
Please log in as guest with password guest if prompted



More information about the openssl-dev mailing list