conf/hmac FIPS merge.
authorDr. Stephen Henson <steve@openssl.org>
Tue, 16 Sep 2008 11:37:03 +0000 (11:37 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Tue, 16 Sep 2008 11:37:03 +0000 (11:37 +0000)
crypto/conf/conf_mall.c
crypto/hmac/hmac.c

index 4ba40cf44cc619cdca4ba7132a7b5a0dbe940612..6c692e99d55c1798834245247c6bcbda457d5139 100644 (file)
@@ -63,6 +63,7 @@
 #include <openssl/dso.h>
 #include <openssl/x509.h>
 #include <openssl/asn1.h>
+#include <openssl/evp.h>
 #ifndef OPENSSL_NO_ENGINE
 #include <openssl/engine.h>
 #endif
@@ -76,5 +77,6 @@ void OPENSSL_load_builtin_modules(void)
 #ifndef OPENSSL_NO_ENGINE
        ENGINE_add_conf_module();
 #endif
+       EVP_add_alg_module();
        }
 
index 1d140f7adb489e57e21014625042557808fb8a93..cbc1c76a57b3d7b56d9ab12819993326840b043e 100644 (file)
@@ -61,6 +61,8 @@
 #include "cryptlib.h"
 #include <openssl/hmac.h>
 
+#ifndef OPENSSL_FIPS
+
 void HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len,
                  const EVP_MD *md, ENGINE *impl)
        {
@@ -178,3 +180,4 @@ void HMAC_CTX_set_flags(HMAC_CTX *ctx, unsigned long flags)
        EVP_MD_CTX_set_flags(&ctx->md_ctx, flags);
        }
 
+#endif