[Git][NTPsec/ntpsec][master] No need to include openssl/rand.h if we don't use RAND_* functions

Matt Selsky gitlab at mg.gitlab.com
Tue Jan 31 05:22:12 UTC 2017


Matt Selsky pushed to branch master at NTPsec / ntpsec


Commits:
95659430 by Matt Selsky at 2017-01-31T00:20:39-05:00
No need to include openssl/rand.h if we don't use RAND_* functions

- - - - -


2 changed files:

- tests/libntp/authkeys.c
- tests/libntp/macencrypt.c


Changes:

=====================================
tests/libntp/authkeys.c
=====================================
--- a/tests/libntp/authkeys.c
+++ b/tests/libntp/authkeys.c
@@ -6,7 +6,6 @@
 
 
 #include <openssl/err.h>
-#include <openssl/rand.h>
 #include <openssl/evp.h>
 
 #include "ntp.h"


=====================================
tests/libntp/macencrypt.c
=====================================
--- a/tests/libntp/macencrypt.c
+++ b/tests/libntp/macencrypt.c
@@ -12,7 +12,6 @@ TEST_TEAR_DOWN(macencrypt) {}
 
 
 #include <openssl/err.h>
-#include <openssl/rand.h>
 #include <openssl/evp.h>
 
 #include "ntp.h"



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/95659430a8033b37385c0a610d0427068c256213
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20170131/2c683f0f/attachment.html>


More information about the vc mailing list