summaryrefslogtreecommitdiffstats
path: root/crypto/seed
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2012-02-26 21:53:28 +0000
committerAndy Polyakov <appro@openssl.org>2012-02-26 21:53:28 +0000
commit37ebc2009324609fdd71febb20e73abca0ff38f6 (patch)
tree936212612a16e6f50f6158176f6b84ec635d6e8a /crypto/seed
parentcef781cc873e5f14fa418ca8ec2b7ad882b8de5d (diff)
seed.c: Solaris portability fix from HEAD.
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 876cefc1f8..3e675a8d75 100644
--- a/crypto/seed/seed.c
+++ b/crypto/seed/seed.c
@@ -36,6 +36,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,