summaryrefslogtreecommitdiff
path: root/logsrvd/logsrvd.c
diff options
context:
space:
mode:
authorTodd C. Miller <Todd.Miller@sudo.ws>2021-10-25 13:17:57 -0600
committerTodd C. Miller <Todd.Miller@sudo.ws>2021-10-25 13:17:57 -0600
commit7553e871319e827a43b9a637fa45a7f3550dd9d0 (patch)
treecefd947477214d549cda9bc363e553e40babfbc1 /logsrvd/logsrvd.c
parente06fe4c0d27b18ee45be6dc5a7b21046fcea6a00 (diff)
downloadsudo-7553e871319e827a43b9a637fa45a7f3550dd9d0.tar.gz
Add support for WolfSSL's OpenSSL compatibility layer.
Based on changes from Hayden Roche
Diffstat (limited to 'logsrvd/logsrvd.c')
-rw-r--r--logsrvd/logsrvd.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/logsrvd/logsrvd.c b/logsrvd/logsrvd.c
index 9abc521de..63df2ce26 100644
--- a/logsrvd/logsrvd.c
+++ b/logsrvd/logsrvd.c
@@ -49,11 +49,6 @@
# include "compat/getopt.h"
#endif /* HAVE_GETOPT_LONG */
-#if defined(HAVE_OPENSSL)
-# include <openssl/ssl.h>
-# include <openssl/err.h>
-#endif
-
#define NEED_INET_NTOP /* to expose sudo_inet_ntop in sudo_compat.h */
#include "pathnames.h"
@@ -70,8 +65,8 @@
#include "sudo_rand.h"
#include "sudo_util.h"
-#include "hostcheck.h"
#include "logsrvd.h"
+#include "hostcheck.h"
#ifndef O_NOFOLLOW
# define O_NOFOLLOW 0