Module Name: src
Committed By: christos
Date: Sun Sep 23 21:43:00 UTC 2018
Modified Files:
src/crypto/external/bsd/openssl/lib/libcrypto: curve448.inc
Log Message:
Kill stack protector warnings.
XXX: need to understand why gcc complains; it is not obvious to me.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 \
src/crypto/external/bsd/openssl/lib/libcrypto/curve448.inc
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/lib/libcrypto/curve448.inc
diff -u src/crypto/external/bsd/openssl/lib/libcrypto/curve448.inc:1.1 src/crypto/external/bsd/openssl/lib/libcrypto/curve448.inc:1.2
--- src/crypto/external/bsd/openssl/lib/libcrypto/curve448.inc:1.1 Sun Sep 23 09:33:04 2018
+++ src/crypto/external/bsd/openssl/lib/libcrypto/curve448.inc Sun Sep 23 17:43:00 2018
@@ -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 @@ f_impl.c \
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}