Source-Changes-HG archive

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

[src/trunk]: src/tests/crypto/libcrypto fix 1.0 build; thanks ODE make.



details:   https://anonhg.NetBSD.org/src/rev/e642e0e6a48e
branches:  trunk
changeset: 829710:e642e0e6a48e
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Feb 08 23:52:26 2018 +0000

description:
fix 1.0 build; thanks ODE make.

diffstat:

 tests/crypto/libcrypto/bf/Makefile      |   4 ++--
 tests/crypto/libcrypto/threads/Makefile |  12 ++++--------
 2 files changed, 6 insertions(+), 10 deletions(-)

diffs (37 lines):

diff -r ae2fae285257 -r e642e0e6a48e tests/crypto/libcrypto/bf/Makefile
--- a/tests/crypto/libcrypto/bf/Makefile        Thu Feb 08 23:41:26 2018 +0000
+++ b/tests/crypto/libcrypto/bf/Makefile        Thu Feb 08 23:52:26 2018 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.2 2018/02/08 21:59:10 christos Exp $
+# $NetBSD: Makefile,v 1.3 2018/02/08 23:52:26 christos Exp $
 
 HELPER_NAME=   bftest
-HELPER_DIR=    test
+HELPER_DIR=    bf
 
 .include <bsd.init.mk>
diff -r ae2fae285257 -r e642e0e6a48e tests/crypto/libcrypto/threads/Makefile
--- a/tests/crypto/libcrypto/threads/Makefile   Thu Feb 08 23:41:26 2018 +0000
+++ b/tests/crypto/libcrypto/threads/Makefile   Thu Feb 08 23:52:26 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2018/02/08 21:59:11 christos Exp $
+# $NetBSD: Makefile,v 1.4 2018/02/08 23:52:26 christos Exp $
 
 HELPER_NAME=   threadstest
 HELPER_DIR=    threads
@@ -15,12 +15,8 @@
 FILES+=                        client.pem
 FILESNAME_client.pem=  d_client.pem
 
-.include <bsd.init.mk>
-
 .PATH:         ${OPENSSLSRC}/apps
 
-.if ${HAVE_OPENSSL} == 10
-HELPER_SRCS=   mttest.c
-.else
-HELPER_SRCS=   threadstest.c
-.endif
+HELPER_SRCS=   ${${HAVE_OPENSSL} == 10 :? mttest.c : threadstest.c}
+
+.include <bsd.init.mk>



Home | Main Index | Thread Index | Old Index