fix EVP_CIPHER_mode macro
[oweals/openssl.git] / crypto / evp / m_md4.c
index cf429aee5d5a712561488e6ee5fc9b5681532b14..e5005abfae805ba0ac189b34775f54561c96700d 100644 (file)
  * [including the GNU Public Licence.]
  */
 
-#ifndef OPENSSL_NO_MD4
+#ifndef NO_MD4
 #include <stdio.h>
 #include "cryptlib.h"
 #include <openssl/evp.h>
 #include <openssl/objects.h>
 #include <openssl/x509.h>
 
-static const EVP_MD md4_md=
+static EVP_MD md4_md=
        {
        NID_md4,
-       0,
+       NID_md4WithRSAEncryption,
        MD4_DIGEST_LENGTH,
        MD4_Init,
        MD4_Update,
@@ -76,7 +76,7 @@ static const EVP_MD md4_md=
        sizeof(EVP_MD *)+sizeof(MD4_CTX),
        };
 
-const EVP_MD *EVP_md4(void)
+EVP_MD *EVP_md4(void)
        {
        return(&md4_md);
        }