On Wed, Oct 13, 2010, Bill wrote:

> Hi Steve,
>
> Thank you for the suggestion but It did not help:
>
> $ make
> gcc -c foo.cpp -fPIC -Wall -I./openssl-0.9.8o-fips/include -I.
> rm -f libfoo.so
> FIPSLD_CC=gcc ./openssl-0.9.8o-fips/bin/fipsld -shared  
> -Wl,-soname,libfoo.so.1 \
>               -o libfoo.so.1 foo.o -L./openssl-0.9.8o-fips/lib -lcrypto 
> -lstdc++
> ln -s ./libfoo.so.1 ./libfoo.so
> gcc -o foobar foobar.cpp -Wall -ldl -lstdc++
> gcc -o foobar2 foobar2.cpp -Wall -I. -L. -lfoo -lstdc++
> FIPSLD_CC=gcc ./openssl-0.9.8o-fips/bin/fipsld -o cmd cmd.cpp -Wall \
>               -I./openssl-0.9.8o-fips/include 
> ./openssl-0.9.8o-fips/lib/libcrypto.a 
> -lstdc++
>

Install the validated module somewhere and set the environment variable
FIPSLIBDIR to that directory before calling fipsld. Then use the -L option to
the 0.9.8o fips capable OpenSSL.

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