From a69a1af56857ef2bd570db75b970a73c96e35e69 Mon Sep 17 00:00:00 2001 From: Younes Serraj Date: Sun, 24 Jan 2016 18:34:15 +0100 Subject: [PATCH] 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 Reviewed-by: Andreas Schneider (cherry picked from commit 66c6ae1a55b83cac8581be1d1a8906a62e327a34) --- src/pki.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pki.c b/src/pki.c index cac5057b..5b26579d 100644 --- a/src/pki.c +++ b/src/pki.c @@ -1094,7 +1094,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() */