Strange read_passphrase behaviour ?

Jarno Huuskonen Jarno.Huuskonen at uku.fi
Sun Jan 27 19:56:24 EST 2002


Hi,

I'm sorry if this has already come up on the list, I did a quick search
of the archive and didn't notice it.

I noticed IMHO strange behavior in read_passphrase:

If readpassphrase returns NULL and sets errno to ENOTTY, then
read_passphrase returns an empty passphrase to the caller instead of
error, now what happens with password authentication is that
if readpassphrase fails every time then ssh sends 3 empty passwords to
the server.

Is this the expected behaviour ?

-Jarno

-- 
Jarno Huuskonen <Jarno.Huuskonen at uku.fi>



More information about the openssh-unix-dev mailing list