aboutsummaryrefslogtreecommitdiff
path: root/src/pki.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pki.c')
-rw-r--r--src/pki.c2
1 files changed, 1 insertions, 1 deletions
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()
*/