X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2Fplugins%2Fpassprompt.c;h=dae326867fcdea9b2f6190d6e01fd24fff056352;hb=75f1f5fde9fa6a64d0c35af6dfac5086a0739334;hp=2091f1361f0c863b5a26c09c77e3f18bdda9b803;hpb=0314df4b46a815922139ded9a2632015ddf260a7;p=ppp.git 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 }