projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f45ed8
)
gcc (in some versions) doesn't like the const_des_cblock typedef.
author
Bodo Möller
<bodo@openssl.org>
Mon, 17 May 1999 10:54:18 +0000
(10:54 +0000)
committer
Bodo Möller
<bodo@openssl.org>
Mon, 17 May 1999 10:54:18 +0000
(10:54 +0000)
So omit it for now :-(
crypto/des/des.h
patch
|
blob
|
history
diff --git
a/crypto/des/des.h
b/crypto/des/des.h
index 51958cc43178a93e3008091cd687701a66477b8e..8d3ca115674837149fa09412c56713bd07e5c91d 100644
(file)
--- 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
{