[Git][NTPsec/ntpsec][master] Sigh. Fix missing HMAC_CTX_new in attic/digest-timing
Hal Murray
gitlab at mg.gitlab.com
Sun Mar 4 10:21:09 UTC 2018
Hal Murray pushed to branch master at NTPsec / ntpsec
Commits:
62989fe5 by Hal Murray at 2018-03-04T10:18:37Z
Sigh. Fix missing HMAC_CTX_new in attic/digest-timing
Old versions of OpenSSL don't have HMAC_CTX_new()
- - - - -
1 changed file:
- attic/digest-timing.c
Changes:
=====================================
attic/digest-timing.c
=====================================
--- a/attic/digest-timing.c
+++ b/attic/digest-timing.c
@@ -13,10 +13,16 @@
*/
/* This may not be high enough.
- * 0x10000003 1.0.0b fails
- * 0x1000105fL 1.0.1e works.
+ * 0x10000003 1.0.0b fails CMAC
+ * 0x1000105fL 1.0.1e works for CMAC
+ *
+ * The HMAC test could be split out.
+ * ?? ?? fails HMAC on Debian/Jessie
+ * 0x1000115fL 1.0.1u fails HMAC on NetBSD 7.1
+ * 0x100020bfL 1.0.2k fails HMAC on FreeBSD 11
+ * An older version of HMAC doesn't have HMAC_CTX_new
*/
-#define CMAC_VERSION_CUTOFF 0x10000003
+#define CMAC_VERSION_CUTOFF 0x100020bfL
#include <stdint.h>
#include <stdlib.h>
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/62989fe509d65054790084befe718258bd7dad80
---
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/62989fe509d65054790084befe718258bd7dad80
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20180304/e7469e2b/attachment.html>
More information about the vc
mailing list