1
0
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:
Younes Serraj
2016-01-24 18:34:15 +01:00
committed by Andreas Schneider
parent 1bc4176d65
commit 66c6ae1a55

View File

@@ -1222,7 +1222,7 @@ error:
* @param[out] pkey A pointer to store the newly allocated public key. You
* 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()
*/