bn/bn_exp.c: Solaris-specific fix, T4 MONTMUL relies on alloca.

(cherry picked from commit b74ce8d9489b319c0d097ff116b5a0bdb634462d)
This commit is contained in:
Andy Polyakov 2013-06-30 23:09:09 +02:00
parent 7850a8bc04
commit 8508a80998

View File

@ -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))