projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bn/bn_exp.c: Solaris-specific fix, T4 MONTMUL relies on alloca.
[openssl.git]
/
crypto
/
bn
/
bn_exp.c
diff --git
a/crypto/bn/bn_exp.c
b/crypto/bn/bn_exp.c
index 8734263bef2b70e33bc907c79cbd61458be464ef..adc478caa639d18842d4a85afc57c4796c7e3b82 100644
(file)
--- a/
crypto/bn/bn_exp.c
+++ b/
crypto/bn/bn_exp.c
@@
-124,6
+124,8
@@
# ifndef alloca
# define alloca(s) __builtin_alloca((s))
# endif
+#elif defined(__sun)
+# include <alloca.h>
#endif
#if defined(OPENSSL_BN_ASM_MONT) && (defined(__sparc__) || defined(__sparc))