aboutsummaryrefslogtreecommitdiff
path: root/src/pki.c
diff options
context:
space:
mode:
authorTilo Eckert <tilo.eckert@flam.de>2018-11-13 15:58:40 +0100
committerAndreas Schneider <asn@cryptomilk.org>2018-11-20 07:57:33 +0100
commitc47cdc0f97281ea3d3076c1b042ecc7995a27856 (patch)
treec8b53a9a350d43d8acb229950ee5fee301659cf3 /src/pki.c
parent4b6eb05023f415c3c3097a69066c7f2a326d173f (diff)
downloadlibssh-c47cdc0f97281ea3d3076c1b042ecc7995a27856.tar.gz
libssh-c47cdc0f97281ea3d3076c1b042ecc7995a27856.tar.xz
libssh-c47cdc0f97281ea3d3076c1b042ecc7995a27856.zip
pki: Fix typos in documentation
Signed-off-by: Tilo Eckert <tilo.eckert@flam.de> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'src/pki.c')
-rw-r--r--src/pki.c5
1 files 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)
{