Commit b74ce8d9 authored by Andy Polyakov's avatar Andy Polyakov
Browse files

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

parent a9d14832
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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))