[Git][NTPsec/ntpsec][master] Move ISC_PLATFORM_OPENSSLH into the USE_* namespace where it belongs.
Eric S. Raymond
gitlab at mg.gitlab.com
Mon Sep 12 04:01:40 UTC 2016
Eric S. Raymond pushed to branch master at NTPsec / ntpsec
Commits:
0c5e13dd by Eric S. Raymond at 2016-09-12T00:00:52-04:00
Move ISC_PLATFORM_OPENSSLH into the USE_* namespace where it belongs.
- - - - -
6 changed files:
- devel/ifdex-ignores
- libisc/include/isc/md5.h
- libisc/include/isc/sha1.h
- libisc/md5.c
- libisc/sha1.c
- wafhelpers/check_openssl.py
Changes:
=====================================
devel/ifdex-ignores
=====================================
--- a/devel/ifdex-ignores
+++ b/devel/ifdex-ignores
@@ -161,6 +161,7 @@ USE_LE_READLINE
USE_LE_NONE
USE_LIFC_FAMILY
USE_LIFC_FLAGS
+USE_OPENSSL_HASH
USE_PCM_STYLE_SOUND
USE_ROUTING_SOCKET
USE_TSF_USEC_TABLES
=====================================
libisc/include/isc/md5.h
=====================================
--- a/libisc/include/isc/md5.h
+++ b/libisc/include/isc/md5.h
@@ -35,7 +35,7 @@
#define ISC_MD5_DIGESTLENGTH 16U
#define ISC_MD5_BLOCK_LENGTH 64U
-#ifdef ISC_PLATFORM_OPENSSLHASH
+#ifdef USE_OPENSSL_HASH
#include <openssl/evp.h>
typedef EVP_MD_CTX isc_md5_t;
=====================================
libisc/include/isc/sha1.h
=====================================
--- a/libisc/include/isc/sha1.h
+++ b/libisc/include/isc/sha1.h
@@ -20,7 +20,7 @@
#define ISC_SHA1_DIGESTLENGTH 20U
#define ISC_SHA1_BLOCK_LENGTH 64U
-#ifdef ISC_PLATFORM_OPENSSLHASH
+#ifdef USE_OPENSSL_HASH
#include <openssl/evp.h>
typedef EVP_MD_CTX isc_sha1_t;
=====================================
libisc/md5.c
=====================================
--- a/libisc/md5.c
+++ b/libisc/md5.c
@@ -29,7 +29,7 @@
#include <isc/types.h>
#include <isc/util.h>
-#ifdef ISC_PLATFORM_OPENSSLHASH
+#ifdef USE_OPENSSL_HASH
void
isc_md5_init(isc_md5_t *ctx) {
=====================================
libisc/sha1.c
=====================================
--- a/libisc/sha1.c
+++ b/libisc/sha1.c
@@ -29,7 +29,7 @@
#include <isc/types.h>
#include <isc/util.h>
-#ifdef ISC_PLATFORM_OPENSSLHASH
+#ifdef USE_OPENSSL_HASH
void
isc_sha1_init(isc_sha1_t *context)
=====================================
wafhelpers/check_openssl.py
=====================================
--- a/wafhelpers/check_openssl.py
+++ b/wafhelpers/check_openssl.py
@@ -57,5 +57,5 @@ 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("ISC_PLATFORM_OPENSSLHASH", 1, comment="Use OpenSSL for hashing")
+ ctx.define("USE_OPENSSL_HASH", 1, comment="Use OpenSSL for hashing")
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/0c5e13dd9efc63aa8e0198ce72a5add7be3ffd9b
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ntpsec.org/pipermail/vc/attachments/20160912/07ecf819/attachment.html>
More information about the vc
mailing list