summaryrefslogtreecommitdiffstats
path: root/crypto/seed
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2012-02-26 21:52:43 +0000
committerAndy Polyakov <appro@openssl.org>2012-02-26 21:52:43 +0000
commitd0e68a98c5254ab555a818710a346b926a4ce74e (patch)
tree82f388a7a383dd9c68c77f626c2a13500c36eb49 /crypto/seed
parenta36fb7258440470a14fe24c10030963e7b7c1572 (diff)
seed.c: incredibly enough seed.c can fail to compile on Solaris with certain
flags, because SS is defined after inclusion of <stdlib.h>, in <sys/regset.h>
Diffstat (limited to 'crypto/seed')
-rw-r--r--crypto/seed/seed.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/seed/seed.c b/crypto/seed/seed.c
index 2bc384a19f..2eb3a78326 100644
--- a/crypto/seed/seed.c
+++ b/crypto/seed/seed.c
@@ -35,6 +35,10 @@
#include <openssl/seed.h>
#include "seed_locl.h"
+#ifdef SS /* can get defined on Solaris by inclusion of <stdlib.h> */
+#undef SS
+#endif
+
static const seed_word SS[4][256] = { {
0x2989a1a8, 0x05858184, 0x16c6d2d4, 0x13c3d3d0, 0x14445054, 0x1d0d111c, 0x2c8ca0ac, 0x25052124,
0x1d4d515c, 0x03434340, 0x18081018, 0x1e0e121c, 0x11415150, 0x3cccf0fc, 0x0acac2c8, 0x23436360,