Peter Jay Salzman ([EMAIL PROTECTED]) said:
> i think there's an error in the man page for crypt()...
> 
>       usage: char *crypt(const char *key, const char *salt);

[snip]

>               char *pass1 = crypt(salt1, key);
>               char *pass2 = crypt(salt2, key);

should be:
                char *pass1 = crypt(key, salt1);
                char *pass2 = crypt(key, salt2);

.adam

-- 
[                <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>                ]
[              icq #3354423 | lazur.org | clustermonkey.org              ]

Reply via email to