aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>1999-05-17 10:54:18 +0000
committerBodo Möller <bodo@openssl.org>1999-05-17 10:54:18 +0000
commit27a186cd5daa0951cc3a83a5d37d7dc5b98d88c7 (patch)
tree586e00fdeb1c128461b51ad8f2563847dba737b5
parent3f45ed82dc633093db2c4d1959269a153e7cf6bb (diff)
downloadopenssl-27a186cd5daa0951cc3a83a5d37d7dc5b98d88c7.zip
openssl-27a186cd5daa0951cc3a83a5d37d7dc5b98d88c7.tar.gz
openssl-27a186cd5daa0951cc3a83a5d37d7dc5b98d88c7.tar.bz2
gcc (in some versions) doesn't like the const_des_cblock typedef.
So omit it for now :-(
-rw-r--r--crypto/des/des.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/crypto/des/des.h b/crypto/des/des.h
index 51958cc..8d3ca11 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
{