Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/crypto/external/bsd/openssl/dist/crypto/bn only use alloca i...



details:   https://anonhg.NetBSD.org/src/rev/7b7e36721b88
branches:  trunk
changeset: 780585:7b7e36721b88
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Jul 30 17:15:45 2012 +0000

description:
only use alloca if not __SSP__

diffstat:

 crypto/external/bsd/openssl/dist/crypto/bn/bn_exp.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (16 lines):

diff -r 7569b068af22 -r 7b7e36721b88 crypto/external/bsd/openssl/dist/crypto/bn/bn_exp.c
--- a/crypto/external/bsd/openssl/dist/crypto/bn/bn_exp.c       Mon Jul 30 17:09:33 2012 +0000
+++ b/crypto/external/bsd/openssl/dist/crypto/bn/bn_exp.c       Mon Jul 30 17:15:45 2012 +0000
@@ -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
 



Home | Main Index | Thread Index | Old Index