From 27a186cd5daa0951cc3a83a5d37d7dc5b98d88c7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bodo=20M=C3=B6ller?= Date: Mon, 17 May 1999 10:54:18 +0000 Subject: [PATCH] gcc (in some versions) doesn't like the const_des_cblock typedef. So omit it for now :-( --- crypto/des/des.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/crypto/des/des.h b/crypto/des/des.h index 51958cc431..8d3ca11567 100644 --- a/crypto/des/des.h +++ b/crypto/des/des.h @@ -77,7 +77,12 @@ extern "C" { #endif typedef unsigned char des_cblock[8]; -typedef const unsigned char const_des_cblock[8]; +typedef /* const */ unsigned char const_des_cblock[8]; +/* With "const", gcc 2.8.1 on Solaris thinks that des_cblock * + * and const_des_cblock * are incompatible pointer types. + * I haven't seen that warning on other systems ... I'll look + * what the standard says. */ + typedef struct des_ks_struct { -- 2.25.1