mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-09 09:54:25 +09: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>
(cherry picked from commit 66c6ae1a55)
This commit is contained in:
committed by
Andreas Schneider
parent
32b72555ee
commit
a69a1af568
@@ -1094,7 +1094,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