2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-09-05 00:35:14 +00:00

Only include log_client.h if SUDOERS_LOG_CLIENT is defined.

This commit is contained in:
Todd C. Miller
2021-10-21 19:46:35 -06:00
parent cf47187eb5
commit 00f0c233b2
6 changed files with 27 additions and 18 deletions

View File

@@ -22,6 +22,21 @@
#include <stdarg.h>
struct sudoers_str_list;
struct log_details {
struct eventlog *evlog;
struct sudoers_str_list *log_servers;
struct timespec server_timeout;
# if defined(HAVE_OPENSSL)
char *ca_bundle;
char *cert_file;
char *key_file;
# endif /* HAVE_OPENSSL */
bool keepalive;
bool verify_server;
bool ignore_log_errors;
};
/*
* Values for sudoers_setlocale()
*/