From 5c6854f8768d5cf1028209e15acbd74cfe1dc997 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se>
Date: Tue, 15 Dec 1998 01:04:51 +0100
Subject: [PATCH] Changed back CONST->const, and fixed some missing const
 declarations.

Rev: src/symmetric/include/blowfish.h:1.3
Rev: src/symmetric/include/idea.h:1.4
Rev: src/symmetric/include/rc4.h:1.4
---
 include/blowfish.h | 8 ++++----
 include/idea.h     | 8 ++++----
 include/rc4.h      | 4 ++--
 3 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/include/blowfish.h b/include/blowfish.h
index a6981c26..dce69523 100644
--- a/include/blowfish.h
+++ b/include/blowfish.h
@@ -40,12 +40,12 @@ typedef struct {
 } BLOWFISH_context;
 
 
-CONST char *
+const char *
 blowfish_get_info( int algo, size_t *keylen,
 		   size_t *blocksize, size_t *contextsize,
-		   int	(**setkey)( void *c, CONST byte *key, unsigned keylen ),
-		   void (**encrypt)( void *c, byte *outbuf, CONST byte *inbuf ),
-		   void (**decrypt)( void *c, byte *outbuf, CONST byte *inbuf )
+		   int	(**setkey)( void *c, const byte *key, unsigned keylen ),
+		   void (**encrypt)( void *c, byte *outbuf, const byte *inbuf ),
+		   void (**decrypt)( void *c, byte *outbuf, const byte *inbuf )
 		 );
 
 #endif /*G10_BLOWFISH_H*/
diff --git a/include/idea.h b/include/idea.h
index b19cbaeb..15c007a8 100644
--- a/include/idea.h
+++ b/include/idea.h
@@ -19,13 +19,13 @@
 #include "crypto_types.h"
 
 void idea_expand(UINT16 *ctx,
-		 CONST UINT8 *key);
+		 const UINT8 *key);
 
 void idea_invert(UINT16 *d,
-		 CONST UINT16 *e);
+		 const UINT16 *e);
 
-void idea_crypt(CONST UINT16 *ctx,
+void idea_crypt(const UINT16 *ctx,
 		UINT8 *dest,
-		CONST UINT8 *src);
+		const UINT8 *src);
 
 #endif /* IDEA_H_INCLUDED */
diff --git a/include/rc4.h b/include/rc4.h
index 32bbf5ca..3e9827d5 100644
--- a/include/rc4.h
+++ b/include/rc4.h
@@ -16,7 +16,7 @@ struct rc4_ctx {
 void rc4_init(struct rc4_ctx *ctx);
 #endif
 
-void rc4_set_key(struct rc4_ctx *ctx, CONST UINT8 *key, UINT32 len);
-void rc4_crypt(struct rc4_ctx *ctx, UINT8 *dest, CONST UINT8 *src, UINT32 len);
+void rc4_set_key(struct rc4_ctx *ctx, const UINT8 *key, UINT32 len);
+void rc4_crypt(struct rc4_ctx *ctx, UINT8 *dest, const UINT8 *src, UINT32 len);
 
 #endif /* RC4_H_INCLUDED */
-- 
GitLab