diff options
author | Ulf Möller <ulf@openssl.org> | 1999-04-26 16:43:10 +0000 |
---|---|---|
committer | Ulf Möller <ulf@openssl.org> | 1999-04-26 16:43:10 +0000 |
commit | a9be3af5ad4836f7e50f0546311ca90c717b861e (patch) | |
tree | f44f7f8c4497d85da4c5cbd08067479bb20ced95 /crypto/mdc2 | |
parent | 47339f6179fbefafc793c10b0411ed0365497d65 (diff) | |
download | openssl-a9be3af5ad4836f7e50f0546311ca90c717b861e.tar.gz |
Remove NOPROTO definitions and error code comments.
Diffstat (limited to 'crypto/mdc2')
-rw-r--r-- | crypto/mdc2/mdc2.h | 10 | ||||
-rw-r--r-- | crypto/mdc2/mdc2dgst.c | 5 |
2 files changed, 0 insertions, 15 deletions
diff --git a/crypto/mdc2/mdc2.h b/crypto/mdc2/mdc2.h index f6157a51fa..39a6c9e9ff 100644 --- a/crypto/mdc2/mdc2.h +++ b/crypto/mdc2/mdc2.h @@ -76,22 +76,12 @@ typedef struct mdc2_ctx_st int pad_type; /* either 1 or 2, default 1 */ } MDC2_CTX; -#ifndef NOPROTO void MDC2_Init(MDC2_CTX *c); void MDC2_Update(MDC2_CTX *c, unsigned char *data, unsigned long len); void MDC2_Final(unsigned char *md, MDC2_CTX *c); unsigned char *MDC2(unsigned char *d, unsigned long n, unsigned char *md); -#else - -void MDC2_Init(); -void MDC2_Update(); -void MDC2_Final(); -unsigned char *MDC2(); - -#endif - #ifdef __cplusplus } #endif diff --git a/crypto/mdc2/mdc2dgst.c b/crypto/mdc2/mdc2dgst.c index 49b0c8ca95..8b5314fed8 100644 --- a/crypto/mdc2/mdc2dgst.c +++ b/crypto/mdc2/mdc2dgst.c @@ -74,12 +74,7 @@ *((c)++)=(unsigned char)(((l)>>16L)&0xff), \ *((c)++)=(unsigned char)(((l)>>24L)&0xff)) -#ifndef NOPROTO static void mdc2_body(MDC2_CTX *c, unsigned char *in, unsigned int len); -#else -static void mdc2_body(); -#endif - void MDC2_Init(MDC2_CTX *c) { c->num=0; |