Module Name: src Committed By: christos Date: Mon Jul 30 17:15:45 UTC 2012
Modified Files: src/crypto/external/bsd/openssl/dist/crypto/bn: bn_exp.c Log Message: only use alloca if not __SSP__ To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 \ src/crypto/external/bsd/openssl/dist/crypto/bn/bn_exp.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/crypto/external/bsd/openssl/dist/crypto/bn/bn_exp.c diff -u src/crypto/external/bsd/openssl/dist/crypto/bn/bn_exp.c:1.3 src/crypto/external/bsd/openssl/dist/crypto/bn/bn_exp.c:1.4 --- src/crypto/external/bsd/openssl/dist/crypto/bn/bn_exp.c:1.3 Thu Jul 26 15:58:37 2012 +++ src/crypto/external/bsd/openssl/dist/crypto/bn/bn_exp.c Mon Jul 30 13:15:45 2012 @@ -120,8 +120,10 @@ # define alloca _alloca # endif #elif defined(__GNUC__) -# ifndef alloca -# define alloca(s) __builtin_alloca((s)) +# ifndef __SSP__ +# ifndef alloca +# define alloca(s) __builtin_alloca((s)) +# endif # endif #endif