<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2018-03-28 10:01 GMT+02:00 Thomas Petazzoni <span dir="ltr"><<a href="mailto:thomas.petazzoni@bootlin.com" target="_blank">thomas.petazzoni@bootlin.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello,<br>
<span class="gmail-"><br>
On Wed, 28 Mar 2018 09:57:57 +0200, François Perrad wrote:<br>
<br>
> > Could you have a look ?<br>
><br>
> The presence of crypt() is detected by the configure script.<br>
<br>
</span>So, if it's detected by the configure script, there should be no<br>
problem, no ?<br>
<span class="gmail-"><br>
> in dropbear-2017-75/options.h, the logic was :<br>
>     /* This requires crypt() */<br>
>     #ifdef HAVE_CRYPT<br>
>     #define ENABLE_SVR_PASSWORD_AUTH<br>
>     #endif<br>
><br>
> in dropbear-2018-76/sysoptions.h, the logic is now :<br>
>     #if DROPBEAR_SVR_PASSWORD_AUTH && !HAVE_CRYPT<br>
>         #error "DROPBEAR_SVR_PASSWORD_AUTH requires `crypt()'."<br>
>     #endif<br>
><br>
> So, without something like BR2_TOOLCHAIN_HAS_CRYPT,<br>
> we must always disable the option DROPBEAR_SVR_PASSWORD_AUTH in<br>
> localoptions.h.<br>
<br>
</span>I don't understand. On one hand, you say that the presence of crypt()<br>
is detected by the configure script, and on the other hand, you say<br>
that we must tell Dropbear explicitly whether crypt() is available or<br>
not.<br>
<br>
Could you clarify ?<br>
<br></blockquote><div><br></div><div>I solve the issue by writing :<br>    #if !HAVE_CRYPT<br>    #define DROPBEAR_SVR_PASSWORD_AUTH 0<br>    #endif<br></div><div>in the localoptions.h file.<br></div><div><br></div><div>François<br></div><div><br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Thanks!<br>
<span class="gmail-HOEnZb"><font color="#888888"><br>
Thomas<br>
</font></span><div class="gmail-HOEnZb"><div class="gmail-h5">--<br>
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)<br>
Embedded Linux and Kernel engineering<br>
<a href="https://bootlin.com" rel="noreferrer" target="_blank">https://bootlin.com</a><br>
</div></div></blockquote></div><br></div></div>