X-Git-Url: https://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=pppd%2Fplugins%2Fpassprompt.c;h=dae326867fcdea9b2f6190d6e01fd24fff056352;hp=2091f1361f0c863b5a26c09c77e3f18bdda9b803;hb=2883dd07101bf851e2ea368f0c04c91aea85cff2;hpb=fc0a76c87a123e65b4922008257f5878251f9323 diff --git a/pppd/plugins/passprompt.c b/pppd/plugins/passprompt.c index 2091f13..dae3268 100644 --- a/pppd/plugins/passprompt.c +++ b/pppd/plugins/passprompt.c @@ -8,6 +8,11 @@ * as published by the Free Software Foundation; either version * 2 of the License, or (at your option) any later version. */ + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include @@ -113,4 +118,7 @@ void plugin_init(void) { add_options(options); pap_passwd_hook = promptpass; +#ifdef USE_EAPTLS + eaptls_passwd_hook = promptpass; +#endif }