[Git][NTPsec/ntpsec][master] OpenSSL headers are external to the project so use <> syntax to look for them

Matt Selsky gitlab at mg.gitlab.com
Sat Jan 28 17:36:00 UTC 2017


Matt Selsky pushed to branch master at NTPsec / ntpsec


Commits:
384f6bab by Matt Selsky at 2017-01-28T12:33:41-05:00
OpenSSL headers are external to the project so use <> syntax to look for them

- - - - -


7 changed files:

- libntp/a_md5encrypt.c
- libntp/authreadkeys.c
- libntp/ssl_init.c
- ntpd/ntp_control.c
- tests/libntp/a_md5encrypt.c
- tests/libntp/authkeys.c
- tests/libntp/ssl_init.c


Changes:

=====================================
libntp/a_md5encrypt.c
=====================================
--- a/libntp/a_md5encrypt.c
+++ b/libntp/a_md5encrypt.c
@@ -8,7 +8,7 @@
 #include <stdbool.h>
 #include <stdint.h>
 
-#include "openssl/evp.h"	/* provides OpenSSL digest API */
+#include <openssl/evp.h>	/* provides OpenSSL digest API */
 
 #include "ntp_fp.h"
 #include "ntp_stdlib.h"


=====================================
libntp/authreadkeys.c
=====================================
--- a/libntp/authreadkeys.c
+++ b/libntp/authreadkeys.c
@@ -10,8 +10,8 @@
 #include "ntp_syslog.h"
 #include "ntp_stdlib.h"
 
-#include "openssl/objects.h"
-#include "openssl/evp.h"
+#include <openssl/objects.h>
+#include <openssl/evp.h>
 
 /* Forwards */
 static char *nexttok (char **);


=====================================
libntp/ssl_init.c
=====================================
--- a/libntp/ssl_init.c
+++ b/libntp/ssl_init.c
@@ -13,8 +13,8 @@
 #include <ntp_debug.h>
 #include <lib_strbuf.h>
 
-#include "openssl/err.h"
-#include "openssl/evp.h"
+#include <openssl/err.h>
+#include <openssl/evp.h>
 
 void	atexit_ssl_cleanup(void);
 


=====================================
ntpd/ntp_control.c
=====================================
--- a/ntpd/ntp_control.c
+++ b/ntpd/ntp_control.c
@@ -11,7 +11,7 @@
 #include <netinet/in.h>
 #include <arpa/inet.h>
 
-#include "openssl/evp.h"	/* provides OpenSSL digest API */
+#include <openssl/evp.h>	/* provides OpenSSL digest API */
 
 #include "ntpd.h"
 #include "ntp_io.h"


=====================================
tests/libntp/a_md5encrypt.c
=====================================
--- a/tests/libntp/a_md5encrypt.c
+++ b/tests/libntp/a_md5encrypt.c
@@ -11,9 +11,9 @@ TEST_SETUP(a_md5encrypt) {}
 TEST_TEAR_DOWN(a_md5encrypt) {}
 
 
-# include "openssl/err.h"
-# include "openssl/rand.h"
-# include "openssl/evp.h"
+#include <openssl/err.h>
+#include <openssl/rand.h>
+#include <openssl/evp.h>
 
 #include "ntp.h"
 


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


=====================================
tests/libntp/ssl_init.c
=====================================
--- a/tests/libntp/ssl_init.c
+++ b/tests/libntp/ssl_init.c
@@ -12,9 +12,9 @@ TEST_SETUP(ssl_init) {}
 TEST_TEAR_DOWN(ssl_init) {}
 
 
-# include "openssl/err.h"
-# include "openssl/rand.h"
-# include "openssl/evp.h"
+#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/384f6babb6667e2b7b3d7471b3a9d6834084c603
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20170128/f62331cf/attachment.html>


More information about the vc mailing list