diff options
author | appro <appro> | 2012-02-26 21:52:43 +0000 |
---|---|---|
committer | appro <appro> | 2012-02-26 21:52:43 +0000 |
commit | 0f859232fd2e3f6394f149864b999745fd57f5ef (patch) | |
tree | 400b920621cdbfa90308b754ffe814af368cf86c | |
parent | aeccbbb4cec0a52ce72b421427dd8d816765e750 (diff) | |
download | openssl-0f859232fd2e3f6394f149864b999745fd57f5ef.tar.gz |
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>
-rw-r--r-- | crypto/seed/seed.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/seed/seed.c b/crypto/seed/seed.c index 2bc384a19..2eb3a7832 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, |