[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ssh_key_is_private() returns 0 or 2 instead of 0 or 1
[Thread Prev] | [Thread Next]
- Subject: ssh_key_is_private() returns 0 or 2 instead of 0 or 1
- From: Kevin Haake <khaake@xxxxxxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Thu, 6 Aug 2015 13:36:38 -0500
- To: libssh@xxxxxxxxxx
I noticed today that ssh_key_is_private() returns 0 or 2 (SSH_KEY_FLAG_PRIVATE is 0x0002). The documentation says it will return 0 or 1.
Re: ssh_key_is_private() returns 0 or 2 instead of 0 or 1 | Andreas Schneider <asn@xxxxxxxxxxxxxx> |