diff options
author | Younes Serraj <younes.serraj@gmail.com> | 2016-01-24 18:34:15 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2016-02-23 08:12:34 +0100 |
commit | 66c6ae1a55b83cac8581be1d1a8906a62e327a34 (patch) | |
tree | 4267d32de81e2feb009031e652df26a76fbbd8ce /src/pki.c | |
parent | 1bc4176d657e772e29c0f4f903b5447bafd24ef0 (diff) | |
download | libssh-66c6ae1a55b83cac8581be1d1a8906a62e327a34.tar.gz libssh-66c6ae1a55b83cac8581be1d1a8906a62e327a34.tar.xz libssh-66c6ae1a55b83cac8581be1d1a8906a62e327a34.zip |
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>
Diffstat (limited to 'src/pki.c')
-rw-r--r-- | src/pki.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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() */ |