summaryrefslogtreecommitdiffstats
path: root/crypto/md2
diff options
context:
space:
mode:
authorUlf Möller <ulf@openssl.org>1999-04-26 16:43:10 +0000
committerUlf Möller <ulf@openssl.org>1999-04-26 16:43:10 +0000
commita9be3af5ad4836f7e50f0546311ca90c717b861e (patch)
treef44f7f8c4497d85da4c5cbd08067479bb20ced95 /crypto/md2
parent47339f6179fbefafc793c10b0411ed0365497d65 (diff)
Remove NOPROTO definitions and error code comments.
Diffstat (limited to 'crypto/md2')
-rw-r--r--crypto/md2/md2.c8
-rw-r--r--crypto/md2/md2.h9
-rw-r--r--crypto/md2/md2_dgst.c5
-rw-r--r--crypto/md2/md2test.c5
4 files changed, 0 insertions, 27 deletions
diff --git a/crypto/md2/md2.c b/crypto/md2/md2.c
index ba7b46ad6c..f4d6f62264 100644
--- a/crypto/md2/md2.c
+++ b/crypto/md2/md2.c
@@ -62,18 +62,10 @@
#define BUFSIZE 1024*16
-#ifndef NOPROTO
void do_fp(FILE *f);
void pt(unsigned char *md);
int read(int, void *, unsigned int);
void exit(int);
-#else
-void do_fp();
-void pt();
-int read();
-void exit();
-#endif
-
int main(int argc, char *argv[])
{
int i,err=0;
diff --git a/crypto/md2/md2.h b/crypto/md2/md2.h
index f49388fcc8..e0285a3b88 100644
--- a/crypto/md2/md2.h
+++ b/crypto/md2/md2.h
@@ -75,20 +75,11 @@ typedef struct MD2state_st
MD2_INT state[MD2_BLOCK];
} MD2_CTX;
-#ifndef NOPROTO
const char *MD2_options(void);
void MD2_Init(MD2_CTX *c);
void MD2_Update(MD2_CTX *c, register unsigned char *data, unsigned long len);
void MD2_Final(unsigned char *md, MD2_CTX *c);
unsigned char *MD2(unsigned char *d, unsigned long n,unsigned char *md);
-#else
-const char *MD2_options();
-void MD2_Init();
-void MD2_Update();
-void MD2_Final();
-unsigned char *MD2();
-#endif
-
#ifdef __cplusplus
}
#endif
diff --git a/crypto/md2/md2_dgst.c b/crypto/md2/md2_dgst.c
index 20d1bf4fb0..c7d8d6aef5 100644
--- a/crypto/md2/md2_dgst.c
+++ b/crypto/md2/md2_dgst.c
@@ -69,12 +69,7 @@ const char *MD2_version="MD2" OPENSSL_VERSION_PTEXT;
#define UCHAR unsigned char
-#ifndef NOPROTO
static void md2_block(MD2_CTX *c, unsigned char *d);
-#else
-static void md2_block();
-#endif
-
/* The magic S table - I have converted it to hex since it is
* basicaly just a random byte string. */
static MD2_INT S[256]={
diff --git a/crypto/md2/md2test.c b/crypto/md2/md2test.c
index 83725fe32b..2368ec3332 100644
--- a/crypto/md2/md2test.c
+++ b/crypto/md2/md2test.c
@@ -82,12 +82,7 @@ char *ret[]={
"d5976f79d83d3a0dc9806c3c66f3efd8",
};
-#ifndef NOPROTO
static char *pt(unsigned char *md);
-#else
-static char *pt();
-#endif
-
int main(int argc, char *argv[])
{
int i,err=0;