diff options
Diffstat (limited to 'crypto/ripemd')
-rw-r--r-- | crypto/ripemd/ripemd.h | 9 | ||||
-rw-r--r-- | crypto/ripemd/rmd160.c | 7 | ||||
-rw-r--r-- | crypto/ripemd/rmd_dgst.c | 10 | ||||
-rw-r--r-- | crypto/ripemd/rmd_locl.h | 4 | ||||
-rw-r--r-- | crypto/ripemd/rmdtest.c | 5 |
5 files changed, 0 insertions, 35 deletions
diff --git a/crypto/ripemd/ripemd.h b/crypto/ripemd/ripemd.h index a3bc6e3ab2..b2708d59ca 100644 --- a/crypto/ripemd/ripemd.h +++ b/crypto/ripemd/ripemd.h @@ -78,20 +78,11 @@ typedef struct RIPEMD160state_st int num; } RIPEMD160_CTX; -#ifndef NOPROTO void RIPEMD160_Init(RIPEMD160_CTX *c); void RIPEMD160_Update(RIPEMD160_CTX *c, unsigned char *data, unsigned long len); void RIPEMD160_Final(unsigned char *md, RIPEMD160_CTX *c); unsigned char *RIPEMD160(unsigned char *d, unsigned long n, unsigned char *md); void RIPEMD160_Transform(RIPEMD160_CTX *c, unsigned char *b); -#else -void RIPEMD160_Init(); -void RIPEMD160_Update(); -void RIPEMD160_Final(); -unsigned char *RIPEMD160(); -void RIPEMD160_Transform(); -#endif - #ifdef __cplusplus } #endif diff --git a/crypto/ripemd/rmd160.c b/crypto/ripemd/rmd160.c index d73a9a6225..8481e44bed 100644 --- a/crypto/ripemd/rmd160.c +++ b/crypto/ripemd/rmd160.c @@ -62,16 +62,9 @@ #define BUFSIZE 1024*16 -#ifndef NOPROTO void do_fp(FILE *f); void pt(unsigned char *md); int read(int, void *, unsigned int); -#else -void do_fp(); -void pt(); -int read(); -#endif - int main(int argc, char **argv) { int i,err=0; diff --git a/crypto/ripemd/rmd_dgst.c b/crypto/ripemd/rmd_dgst.c index ea3c5c5d32..b590856229 100644 --- a/crypto/ripemd/rmd_dgst.c +++ b/crypto/ripemd/rmd_dgst.c @@ -62,22 +62,12 @@ char *RMD160_version="RIPE-MD160" OPENSSL_VERSION_PTEXT; -#ifndef NOPROTO # ifdef RMD160_ASM void ripemd160_block_x86(RIPEMD160_CTX *c, unsigned long *p,int num); # define ripemd160_block ripemd160_block_x86 # else void ripemd160_block(RIPEMD160_CTX *c, unsigned long *p,int num); # endif -#else -# ifdef RMD160_ASM - void ripemd160_block_x86(); -# define ripemd160_block ripemd160_block_x86 -# else - void ripemd160_block(); -# endif -#endif - void RIPEMD160_Init(RIPEMD160_CTX *c) { c->A=RIPEMD160_A; diff --git a/crypto/ripemd/rmd_locl.h b/crypto/ripemd/rmd_locl.h index 9539f58ad5..d6ba02001a 100644 --- a/crypto/ripemd/rmd_locl.h +++ b/crypto/ripemd/rmd_locl.h @@ -64,10 +64,6 @@ #define UCHAR unsigned char #define UINT unsigned int -#ifdef NOCONST -#define const -#endif - #undef c2nl #define c2nl(c,l) (l =(((unsigned long)(*((c)++)))<<24), \ l|=(((unsigned long)(*((c)++)))<<16), \ diff --git a/crypto/ripemd/rmdtest.c b/crypto/ripemd/rmdtest.c index da07a02728..11737e24a6 100644 --- a/crypto/ripemd/rmdtest.c +++ b/crypto/ripemd/rmdtest.c @@ -84,12 +84,7 @@ char *ret[]={ "9b752e45573d4b39f4dbd3323cab82bf63326bfb", }; -#ifndef NOPROTO static char *pt(unsigned char *md); -#else -static char *pt(); -#endif - int main(int argc, char *argv[]) { int i,err=0; |