[Git][NTPsec/ntpsec][master] Sigh, fix previous fix to work with older OpenSSL

Hal Murray gitlab at mg.gitlab.com
Wed Feb 28 20:53:20 UTC 2018


Hal Murray pushed to branch master at NTPsec / ntpsec


Commits:
1e4176d1 by Hal Murray at 2018-02-28T12:52:02-08:00
Sigh, fix previous fix to work with older OpenSSL

- - - - -


1 changed file:

- libntp/macencrypt.c


Changes:

=====================================
libntp/macencrypt.c
=====================================
--- a/libntp/macencrypt.c
+++ b/libntp/macencrypt.c
@@ -23,6 +23,9 @@ EVP_MD_CTX *digest_ctx;
 /* Similar hack in ssl_init.c and attic/digest-timing.c */
 #define EVP_MD_CTX_reset(ctx) EVP_MD_CTX_init((ctx))
 #endif
+#ifndef EVP_MD_CTX_new
+#define EVP_MD_CTX_new() EVP_MD_CTX_create()
+#endif
 
 /* ctmemeq - test two blocks memory for equality without leaking
  * timing information.



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/1e4176d198f82ea0cca897980cdcb569c68439a2

---
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/1e4176d198f82ea0cca897980cdcb569c68439a2
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/20180228/5763a601/attachment.html>


More information about the vc mailing list