Add "OPENSSL_FIPSCAPABLE" define for a version of OpenSSL which is
authorDr. Stephen Henson <steve@openssl.org>
Fri, 3 Jun 2011 16:26:58 +0000 (16:26 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Fri, 3 Jun 2011 16:26:58 +0000 (16:26 +0000)
FIPS capable: i.e. FIPS module is supplied externally.

fips/fips.h

index 4bebd4cfca9d502e069164c4459fbb01a43878ff..5d8f626561f4906aafc7df07208ac5ad9ab9e786 100644 (file)
 extern "C" {
 #endif
 
+#ifndef OPENSSL_FIPSCANISTER
+#define OPENSSL_FIPSCAPABLE
+#endif
+
 struct dsa_st;
 struct ec_key_st;
 struct rsa_st;
@@ -262,6 +266,7 @@ const EVP_MD *FIPS_evp_dss(void);
 const EVP_MD *FIPS_evp_ecdsa(void);
 
 const RSA_METHOD *FIPS_rsa_pkcs1_ssleay(void);
+int FIPS_rsa_generate_key_ex(RSA *rsa, int bits, BIGNUM *e, BN_GENCB *cb);
 
 #endif