From 66c6ae1a55b83cac8581be1d1a8906a62e327a34 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 --- src/pki.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pki.c b/src/pki.c index d15c32cf..0ed3fa71 100644 --- a/src/pki.c +++ b/src/pki.c @@ -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() */