From c47cdc0f97281ea3d3076c1b042ecc7995a27856 Mon Sep 17 00:00:00 2001 From: Tilo Eckert Date: Tue, 13 Nov 2018 15:58:40 +0100 Subject: [PATCH] pki: Fix typos in documentation Signed-off-by: Tilo Eckert Reviewed-by: Andreas Schneider --- src/pki.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/pki.c b/src/pki.c index d420e792..623c70f2 100644 --- a/src/pki.c +++ b/src/pki.c @@ -274,13 +274,14 @@ static enum ssh_digest_e ssh_key_hash_from_name(const char *name) /* we do not care for others now */ return SSH_DIGEST_AUTO; } + /** * @brief Checks the given key against the configured allowed * public key algorithm types * * @param[in] session The SSH session - * @parma[in] type The key algorithm to check - * @returns 1 if the key algorithm is allowed 0 otherwise + * @param[in] type The key algorithm to check + * @returns 1 if the key algorithm is allowed, 0 otherwise */ int ssh_key_algorithm_allowed(ssh_session session, const char *type) {