On Tue, Jan 29, 2013, Joseandro Luiz wrote: > Hello everyone, > I am using the OpenSSL user guide from > http://www.openssl.org/docs/fips/UserGuide-2.0.pdf in order to create a > FIPS 140-2 compliant iOS app. > So far I've successfully built the Incore utility and the FIPS Object > Module but I am having big troubles when I try to build the FIPS Capable > Library. > > I run the following commands to compile openssl-1.0.1c: > $ ./config fips -no-comp -no-shared -no-dso > $ make depend > > The first command runs ok, no error messages, but when I run the second, I > get this: > Joseandros-iMac:openssl-1.0.1c joseandro$ make depend > making depend in crypto... > o_fips.c:60:26: error: openssl/fips.h: No such file or directory > o_fips.c:61:31: error: openssl/fips_rand.h: No such file or directory > o_init.c:58:26: error: openssl/fips.h: No such file or directory > In file included from fips_ers.c:4: > fips_err.h:63:26: error: openssl/fips.h: No such file or directory > make[1]: *** [depend] Error 1 > make: *** [depend] Error 1 > > The base of my OpenSSL installation is the default: > /usr/local/ssl/Release-iphoneos > > Anyone has any suggestion? It's been a fight to set up OpenSSL ... I am > getting desperate, really. It's been days now that I've been getting so > many errors compiling everything that I don't know what to do anymore. > I appreciate any help. >
Also if you haven't installed the validated module in the default location you need the --with-fipsdir option to point to it or the FIPSDIR environment variable. 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