summaryrefslogtreecommitdiff
path: root/pppd/pppd.h
diff options
context:
space:
mode:
authorEivind Næss <eivnaes@yahoo.com>2021-08-07 14:41:32 -0700
committerEivind Næss <eivnaes@yahoo.com>2022-07-15 15:25:39 -0700
commitb2c21894e165d7a0b4f1600fd8a8fd1b21305752 (patch)
tree1643f136813fd58a665aa008a6d953244a16b9bb /pppd/pppd.h
parentf7307b3f74f9a2fd64acc77b0c884ed1cc9afe56 (diff)
downloadppp-b2c21894e165d7a0b4f1600fd8a8fd1b21305752.tar.gz
Changing the define USE_EAPTLS to PPP_WITH_EAPTLS for consistency
Signed-off-by: Eivind Næss <eivnaes@yahoo.com>
Diffstat (limited to 'pppd/pppd.h')
-rw-r--r--pppd/pppd.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/pppd/pppd.h b/pppd/pppd.h
index 133ccf6..a20bf0d 100644
--- a/pppd/pppd.h
+++ b/pppd/pppd.h
@@ -340,8 +340,7 @@ extern char path_ipv6up[]; /* pathname of ipv6-up script */
extern char path_ipv6down[]; /* pathname of ipv6-down script */
#endif
-#if defined(USE_EAPTLS) || defined(USE_PEAP)
-
+#if defined(PPP_WITH_EAPTLS) || defined(USE_PEAP)
#define TLS_VERIFY_NONE "none"
#define TLS_VERIFY_NAME "name"
#define TLS_VERIFY_SUBJECT "subject"
@@ -355,11 +354,11 @@ extern char *cacert_file;
extern char *max_tls_version;
extern bool tls_verify_key_usage;
extern char *tls_verify_method;
-#endif /* USE_EAPTLS || USE_PEAP */
+#endif /* PPP_WITH_EAPTLS || USE_PEAP */
-#ifdef USE_EAPTLS
+#ifdef PPP_WITH_EAPTLS
extern char *pkcs12_file;
-#endif /* USE_EAPTLS */
+#endif /* PPP_WITH_EAPTLS */
#ifdef MAXOCTETS
extern unsigned int maxoctets; /* Maximum octetes per session (in bytes) */
@@ -779,7 +778,7 @@ extern int (*chap_check_hook)(void);
extern int (*chap_passwd_hook)(char *user, char *passwd);
extern void (*multilink_join_hook)(void);
-#ifdef USE_EAPTLS
+#ifdef PPP_WITH_EAPTLS
extern int (*eaptls_passwd_hook)(char *user, char *passwd);
#endif