bn/bn_exp.c: Solaris-specific fix, T4 MONTMUL relies on alloca.
(cherry picked from commit b74ce8d9489b319c0d097ff116b5a0bdb634462d)
This commit is contained in:
parent
7850a8bc04
commit
8508a80998
@ -123,6 +123,8 @@
|
|||||||
# ifndef alloca
|
# ifndef alloca
|
||||||
# define alloca(s) __builtin_alloca((s))
|
# define alloca(s) __builtin_alloca((s))
|
||||||
# endif
|
# endif
|
||||||
|
#elif defined(__sun)
|
||||||
|
# include <alloca.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(OPENSSL_BN_ASM_MONT) && (defined(__sparc__) || defined(__sparc))
|
#if defined(OPENSSL_BN_ASM_MONT) && (defined(__sparc__) || defined(__sparc))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user