<tt><font size=2>"Rickard Bondesson" <rickard.bondesson@iis.se>
wrote on 04/01/2009 09:54:09 PM:<br>
<br>
> I have a fix that looks for the solaris versions which handled max
<br>
> 256 chars. Look in the repository for the config program for <br>
> SoftHSM, but it uses autoconf.<br>
</font></tt>
<br><tt><font size=2>I understand that the following will do, right?</font></tt>
<br>
<br><tt><font size=2>add AC_CHECK_FUNCS(getpassphrase) to configure.ac
and</font></tt>
<br>
<br><tt><font size=2>#ifdef HAVE_GETPASSPHRASE</font></tt>
<br><tt><font size=2> // getpassphrase()</font></tt>
<br><tt><font size=2>#else</font></tt>
<br><tt><font size=2> // getpass()</font></tt>
<br><tt><font size=2>#endif</font></tt>
<br>
<br><tt><font size=2>where appropriate in the code, right?</font></tt>
<br>
<br><tt><font size=2>Thanks for the pointer!</font></tt>
<br>
<br><tt><font size=2>Regards,</font></tt>
<br>
<br><tt><font size=2>Roy Arends</font></tt>
<br><tt><font size=2>Sr. Researcher</font></tt>
<br><tt><font size=2>Nominet UK</font></tt>