On Sun, Jan 25, 2009 at 08:03:45PM +0000, David Holland wrote: | On Mon, Jan 26, 2009 at 01:13:55AM +1100, Luke Mewburn wrote: | > | Should have RTFM'd. | > | > Some other platforms (older Solaris ?) have a 8 character limit | > with getpass() and you should use getpassphrase() instead. | > NetBSD does not suffer from this. | | Information in back of mind corrected; thanks. | | although I note that opengroup.org says the length constant is | PASS_MAX, and it looks like we do define that, even though it's not | listed in getpass(3). Is there any reason we document _PASSWORD_LEN | instead? CVS history suggests "not particularly"... You're probably correct; there's no particular reason. Feel free to update our code to match the standards and the documentation to then match the code. cheers, Luke.
Attachment:
pgpJu7xQOHOB4.pgp
Description: PGP signature