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/lib/libcrypto Kill stack protect...



details:   https://anonhg.NetBSD.org/src/rev/897ccf98cfa5
branches:  trunk
changeset: 433610:897ccf98cfa5
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Sep 23 21:43:00 2018 +0000

description:
Kill stack protector warnings.
XXX: need to understand why gcc complains; it is not obvious to me.

diffstat:

 crypto/external/bsd/openssl/lib/libcrypto/curve448.inc |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 5b6bc1f67d57 -r 897ccf98cfa5 crypto/external/bsd/openssl/lib/libcrypto/curve448.inc
--- a/crypto/external/bsd/openssl/lib/libcrypto/curve448.inc    Sun Sep 23 21:35:26 2018 +0000
+++ b/crypto/external/bsd/openssl/lib/libcrypto/curve448.inc    Sun Sep 23 21:43:00 2018 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: curve448.inc,v 1.1 2018/09/23 13:33:04 christos Exp $
+#      $NetBSD: curve448.inc,v 1.2 2018/09/23 21:43:00 christos Exp $
 #
 #      SRCS extracted from src/crypto/dist/openssl/crypto/ec/curve448
 #
@@ -16,6 +16,9 @@
 scalar.c
 
 SRCS += ${CURVE448_SRCS}
+COPTS.curve448.c+=-Wno-error=stack-protector
+COPTS.eddsa.c+=-Wno-error=stack-protector
+COPTS.f_generic.c+=-Wno-error=stack-protector
 
 .for cryptosrc in ${CURVE448_SRCS}
 CPPFLAGS.${cryptosrc} = -I${CURVE448} -I${CURVE448}/arch_32 ${CURVE448CPPFLAGS}



Home | Main Index | Thread Index | Old Index