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:
7850a8b
)
bn/bn_exp.c: Solaris-specific fix, T4 MONTMUL relies on alloca.
author
Andy Polyakov
<appro@openssl.org>
Sun, 30 Jun 2013 21:09:09 +0000
(23:09 +0200)
committer
Andy Polyakov
<appro@openssl.org>
Sun, 30 Jun 2013 21:14:31 +0000
(23:14 +0200)
(cherry picked from commit
b74ce8d9489b319c0d097ff116b5a0bdb634462d
)
crypto/bn/bn_exp.c
patch
|
blob
|
history
diff --git
a/crypto/bn/bn_exp.c
b/crypto/bn/bn_exp.c
index 5398552a74e5b19ac9fb3e6fd9cc30ff6009fd0b..fa10ea1773dccbc0bb12b748505a8c4aca46728f 100644
(file)
--- a/
crypto/bn/bn_exp.c
+++ b/
crypto/bn/bn_exp.c
@@
-123,6
+123,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))