summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/evp/m_md2.c
diff options
context:
space:
mode:
authorbeck <>1999-09-29 04:37:45 +0000
committerbeck <>1999-09-29 04:37:45 +0000
commitde8f24ea083384bb66b32ec105dc4743c5663cdf (patch)
tree1412176ae62a3cab2cf2b0b92150fcbceaac6092 /src/lib/libcrypto/evp/m_md2.c
parentcb929d29896bcb87c2a97417fbd03e50078fc178 (diff)
downloadopenbsd-de8f24ea083384bb66b32ec105dc4743c5663cdf.tar.gz
openbsd-de8f24ea083384bb66b32ec105dc4743c5663cdf.tar.bz2
openbsd-de8f24ea083384bb66b32ec105dc4743c5663cdf.zip
OpenSSL 0.9.4 merge
Diffstat (limited to 'src/lib/libcrypto/evp/m_md2.c')
-rw-r--r--src/lib/libcrypto/evp/m_md2.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/lib/libcrypto/evp/m_md2.c b/src/lib/libcrypto/evp/m_md2.c
index 2209416142..3281e91809 100644
--- a/src/lib/libcrypto/evp/m_md2.c
+++ b/src/lib/libcrypto/evp/m_md2.c
@@ -56,11 +56,12 @@
56 * [including the GNU Public Licence.] 56 * [including the GNU Public Licence.]
57 */ 57 */
58 58
59#ifndef NO_MD2
59#include <stdio.h> 60#include <stdio.h>
60#include "cryptlib.h" 61#include "cryptlib.h"
61#include "evp.h" 62#include <openssl/evp.h>
62#include "objects.h" 63#include <openssl/objects.h>
63#include "x509.h" 64#include <openssl/x509.h>
64 65
65static EVP_MD md2_md= 66static EVP_MD md2_md=
66 { 67 {
@@ -75,8 +76,8 @@ static EVP_MD md2_md=
75 sizeof(EVP_MD *)+sizeof(MD2_CTX), 76 sizeof(EVP_MD *)+sizeof(MD2_CTX),
76 }; 77 };
77 78
78EVP_MD *EVP_md2() 79EVP_MD *EVP_md2(void)
79 { 80 {
80 return(&md2_md); 81 return(&md2_md);
81 } 82 }
82 83#endif