mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-08-08 19:02:06 +03:00
pki: Fixed documentation about return value.
Documentation now is congruent with the code: - SSH_OK is returned on success, - SSH_ERROR is returned on error. Signed-off-by: Younes Serraj <younes.serraj@gmail.com> Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
committed by
Andreas Schneider
parent
1bc4176d65
commit
66c6ae1a55
@@ -1222,7 +1222,7 @@ error:
|
|||||||
* @param[out] pkey A pointer to store the newly allocated public key. You
|
* @param[out] pkey A pointer to store the newly allocated public key. You
|
||||||
* NEED to free the key.
|
* NEED to free the key.
|
||||||
*
|
*
|
||||||
* @return A public key, NULL on error.
|
* @return SSH_OK on success, SSH_ERROR on error.
|
||||||
*
|
*
|
||||||
* @see ssh_key_free()
|
* @see ssh_key_free()
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user