Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/openssl/openssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlf Möller <ulf@openssl.org>1999-04-26 20:43:10 +0400
committerUlf Möller <ulf@openssl.org>1999-04-26 20:43:10 +0400
commita9be3af5ad4836f7e50f0546311ca90c717b861e (patch)
treef44f7f8c4497d85da4c5cbd08067479bb20ced95 /crypto/cast
parent47339f6179fbefafc793c10b0411ed0365497d65 (diff)
Remove NOPROTO definitions and error code comments.
Diffstat (limited to 'crypto/cast')
-rw-r--r--crypto/cast/cast.h13
-rw-r--r--crypto/cast/cast_spd.c10
-rw-r--r--crypto/cast/castopts.c10
3 files changed, 0 insertions, 33 deletions
diff --git a/crypto/cast/cast.h b/crypto/cast/cast.h
index cbeb4fc1fa..c2657981b2 100644
--- a/crypto/cast/cast.h
+++ b/crypto/cast/cast.h
@@ -77,7 +77,6 @@ typedef struct cast_key_st
int short_key; /* Use reduced rounds for short key */
} CAST_KEY;
-#ifndef NOPROTO
void CAST_set_key(CAST_KEY *key, int len, unsigned char *data);
void CAST_ecb_encrypt(unsigned char *in,unsigned char *out,CAST_KEY *key,
@@ -91,18 +90,6 @@ void CAST_cfb64_encrypt(unsigned char *in, unsigned char *out, long length,
void CAST_ofb64_encrypt(unsigned char *in, unsigned char *out, long length,
CAST_KEY *schedule, unsigned char *ivec, int *num);
-#else
-
-void CAST_set_key();
-void CAST_ecb_encrypt();
-void CAST_encrypt();
-void CAST_decrypt();
-void CAST_cbc_encrypt();
-void CAST_cfb64_encrypt();
-void CAST_ofb64_encrypt();
-
-#endif
-
#ifdef __cplusplus
}
#endif
diff --git a/crypto/cast/cast_spd.c b/crypto/cast/cast_spd.c
index 8163709fed..209de792d3 100644
--- a/crypto/cast/cast_spd.c
+++ b/crypto/cast/cast_spd.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/cast/castopts.c b/crypto/cast/castopts.c
index 03398af7cc..f8da8e809e 100644
--- a/crypto/cast/castopts.c
+++ b/crypto/cast/castopts.c
@@ -153,12 +153,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)
#define SIGRETTYPE void
@@ -166,12 +161,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);