o:mm...@mykolab.com]
> Sent: Sunday, April 03, 2016 23:54
> To: Héctor Luis Gimbatti
> Subject: Re: Minor style rewrite for crypt.c
>
> You'll need to check out the CVS repo and send a diff for things like this.
>
> Héctor Luis Gimbatti wrote:
> > Greetings,
> &
Greetings,
The function crypt (/usr/src/lib/libc/crypt/crypt.c) might be rewritten as:
char *
crypt(const char *key, const char *setting)
{
if (setting[0] == '$' && setting[1] == '2')
return bcrypt(key, setting);
errno = EINVAL;
return (NULL);
}
--- HLG