diff options
Diffstat (limited to 'crypto/rc2')
-rw-r--r-- | crypto/rc2/rc2.h | 13 | ||||
-rw-r--r-- | crypto/rc2/rc2speed.c | 10 | ||||
-rw-r--r-- | crypto/rc2/rc2test.c | 6 |
3 files changed, 0 insertions, 29 deletions
diff --git a/crypto/rc2/rc2.h b/crypto/rc2/rc2.h index 11fced6e1d..0204745f6f 100644 --- a/crypto/rc2/rc2.h +++ b/crypto/rc2/rc2.h @@ -75,7 +75,6 @@ typedef struct rc2_key_st RC2_INT data[64]; } RC2_KEY; -#ifndef NOPROTO void RC2_set_key(RC2_KEY *key, int len, unsigned char *data,int bits); void RC2_ecb_encrypt(unsigned char *in,unsigned char *out,RC2_KEY *key, @@ -89,18 +88,6 @@ void RC2_cfb64_encrypt(unsigned char *in, unsigned char *out, long length, void RC2_ofb64_encrypt(unsigned char *in, unsigned char *out, long length, RC2_KEY *schedule, unsigned char *ivec, int *num); -#else - -void RC2_set_key(); -void RC2_ecb_encrypt(); -void RC2_encrypt(); -void RC2_decrypt(); -void RC2_cbc_encrypt(); -void RC2_cfb64_encrypt(); -void RC2_ofb64_encrypt(); - -#endif - #ifdef __cplusplus } #endif diff --git a/crypto/rc2/rc2speed.c b/crypto/rc2/rc2speed.c index 47dc9b72b2..69a76af65b 100644 --- a/crypto/rc2/rc2speed.c +++ b/crypto/rc2/rc2speed.c @@ -116,12 +116,7 @@ struct tms { #define BUFSIZE ((long)1024) long run=0; -#ifndef NOPROTO double Time_F(int s); -#else -double Time_F(); -#endif - #ifdef SIGALRM #if defined(__STDC__) || defined(sgi) || defined(_AIX) #define SIGRETTYPE void @@ -129,12 +124,7 @@ double Time_F(); #define SIGRETTYPE int #endif -#ifndef NOPROTO SIGRETTYPE sig_done(int sig); -#else -SIGRETTYPE sig_done(); -#endif - SIGRETTYPE sig_done(int sig) { signal(SIGALRM,sig_done); diff --git a/crypto/rc2/rc2test.c b/crypto/rc2/rc2test.c index a565847958..e6b355f434 100644 --- a/crypto/rc2/rc2test.c +++ b/crypto/rc2/rc2test.c @@ -125,14 +125,8 @@ static unsigned char cfb_cipher64[CFB_TEST_SIZE]={ }; -#ifndef NOPROTO /*static int cfb64_test(unsigned char *cfb_cipher);*/ static char *pt(unsigned char *p); -#else -/*static int cfb64_test(); */ -static char *pt(); -#endif - #endif int main(int argc, char *argv[]) |