summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>1998-08-16 16:38:56 +0000
committerArtur Grabowski <art@cvs.openbsd.org>1998-08-16 16:38:56 +0000
commit992bbaefb1e21869bf547cf2e545a554de767523 (patch)
tree15683750153229bbaa352bded9bebefed3688abd
parentd43440b7822e119db72694437a2537427373cd9e (diff)
remove bogus ifdef PERL5
-rw-r--r--include/des.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/include/des.h b/include/des.h
index 47720a5f309..2de2ede53d9 100644
--- a/include/des.h
+++ b/include/des.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: des.h,v 1.2 1997/09/21 10:45:30 niklas Exp $ */
+/* $OpenBSD: des.h,v 1.3 1998/08/16 16:38:55 art Exp $ */
/* crypto/des/des.h */
/* Copyright (C) 1995-1997 Eric Young (eay@mincom.oz.au)
@@ -184,9 +184,7 @@ int des_enc_read(int fd,char *buf,int len,des_key_schedule sched,
int des_enc_write(int fd,char *buf,int len,des_key_schedule sched,
des_cblock *iv);
char *des_fcrypt(const char *buf,const char *salt, char *ret);
-#ifdef PERL5
char *des_crypt(const char *buf,const char *salt);
-#else
/* some stupid compilers complain because I have declared char instead
* of const char */
#ifdef HEADER_DES_LOCL_H
@@ -194,7 +192,6 @@ char *crypt(const char *buf,const char *salt);
#else
char *crypt();
#endif
-#endif
void des_ofb_encrypt(unsigned char *in,unsigned char *out,
int numbits,long length,des_key_schedule schedule,des_cblock *ivec);
void des_pcbc_encrypt(des_cblock *input,des_cblock *output,long length,
@@ -250,11 +247,8 @@ void des_ede3_cbc_encrypt();
int des_enc_read();
int des_enc_write();
char *des_fcrypt();
-#ifdef PERL5
char *des_crypt();
-#else
char *crypt();
-#endif
void des_ofb_encrypt();
void des_pcbc_encrypt();
DES_LONG des_quad_cksum();