Commit 8508a809 authored by Andy Polyakov's avatar Andy Polyakov
Browse files

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

(cherry picked from commit b74ce8d9)
parent 7850a8bc
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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))