[Git][NTPsec/ntpsec][master] wafhelpers: remove tests for things never used
Gary E. Miller
gitlab at mg.gitlab.com
Sat Jan 28 00:45:29 UTC 2017
Gary E. Miller pushed to branch master at NTPsec / ntpsec
Commits:
ac6600e7 by Gary E. Miller at 2017-01-27T16:39:24-08:00
wafhelpers: remove tests for things never used
Good to check for headers files we use, but do we need the
defines taht are never used? HAVE_OPENSSL_OBJECTS_H
- - - - -
1 changed file:
- wafhelpers/check_openssl.py
Changes:
=====================================
wafhelpers/check_openssl.py
=====================================
--- a/wafhelpers/check_openssl.py
+++ b/wafhelpers/check_openssl.py
@@ -18,15 +18,10 @@ def configure_ssl(ctx):
OPENSSL_LIB = True
headers = (
- "openssl/asn1_mac.h",
- "openssl/bn.h",
"openssl/err.h",
"openssl/evp.h",
- "openssl/pem.h",
- "openssl/rand.h",
+ "openssl/rand.h", # only used in tests/libntp
"openssl/objects.h",
- "openssl/x509v3.h",
- "openssl/ssl.h",
)
for hdr in headers:
@@ -53,6 +48,4 @@ def configure_ssl(ctx):
)
if ctx.get_define("HAVE_OPENSSL"):
- ctx.define("USE_OPENSSL_CRYPTO_RAND", 1,
- comment="Use OpenSSL pseudo-random number generator")
ctx.define("USE_OPENSSL_HASH", 1, comment="Use OpenSSL for hashing")
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/ac6600e7316a1e3cd26aab03308fe8b75306e2eb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20170128/36c94f93/attachment.html>
More information about the vc
mailing list