1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-08-08 19:02:06 +03:00

pki: Fix typos in documentation

Signed-off-by: Tilo Eckert <tilo.eckert@flam.de>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
Tilo Eckert
2018-11-13 15:58:40 +01:00
committed by Andreas Schneider
parent 4b6eb05023
commit c47cdc0f97

View File

@@ -274,13 +274,14 @@ static enum ssh_digest_e ssh_key_hash_from_name(const char *name)
/* we do not care for others now */ /* we do not care for others now */
return SSH_DIGEST_AUTO; return SSH_DIGEST_AUTO;
} }
/** /**
* @brief Checks the given key against the configured allowed * @brief Checks the given key against the configured allowed
* public key algorithm types * public key algorithm types
* *
* @param[in] session The SSH session * @param[in] session The SSH session
* @parma[in] type The key algorithm to check * @param[in] type The key algorithm to check
* @returns 1 if the key algorithm is allowed 0 otherwise * @returns 1 if the key algorithm is allowed, 0 otherwise
*/ */
int ssh_key_algorithm_allowed(ssh_session session, const char *type) int ssh_key_algorithm_allowed(ssh_session session, const char *type)
{ {