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() */