On Wed, Mar 09, 2011, raghib nasri wrote:

> Thanks Stephen
> I have modified fipsld to compile only fips_premain.c with gcc and my rest
> of the application is still using g++ for compilation and linking. But I am
> not able to sort out exactly how to modify the part that will result in
> embedding signature of exact 40 characters, in case I want to use only g++.
> 

Well this in untested...

The fipsld script embeds the signature in fips_premain.c by setting the
preprocessor symbol HMAC_SHA1_SIG. The normal format we have is
"<40 hex digits>" which ends up with 40 characters and the extra null.

If you modify that to an alternative format such as...

{'a','0','c',...}

with exactly 40 characters it should work.

Steve.
--
Dr Stephen N. Henson. OpenSSL project core developer.
Commercial tech support now available see: http://www.openssl.org
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to