Change the command line options of mkerr.pl so -static is now default and
[oweals/openssl.git] / crypto / evp / m_md2.c
index 17360c100e55136401717bc7ddc17b686bd3ff7c..4b842382838b9a933c0dd2dc434d2693b2d2cfe7 100644 (file)
@@ -1,5 +1,5 @@
 /* crypto/evp/m_md2.c */
-/* Copyright (C) 1995-1997 Eric Young (eay@cryptsoft.com)
+/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
  * All rights reserved.
  *
  * This package is an SSL implementation written
@@ -58,9 +58,9 @@
 
 #include <stdio.h>
 #include "cryptlib.h"
-#include "evp.h"
-#include "objects.h"
-#include "x509.h"
+#include <openssl/evp.h>
+#include <openssl/objects.h>
+#include <openssl/x509.h>
 
 static EVP_MD md2_md=
        {
@@ -71,9 +71,11 @@ static EVP_MD md2_md=
        MD2_Update,
        MD2_Final,
        EVP_PKEY_RSA_method,
+       MD2_BLOCK,
+       sizeof(EVP_MD *)+sizeof(MD2_CTX),
        };
 
-EVP_MD *EVP_md2()
+EVP_MD *EVP_md2(void)
        {
        return(&md2_md);
        }