pki: Fix typos in documentation

Signed-off-by: Tilo Eckert <tilo.eckert@flam.de>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
(cherry picked from commit c47cdc0f97)
This commit is contained in:
Tilo Eckert
2018-11-13 15:58:40 +01:00
committed by Andreas Schneider
parent 8b4de1c477
commit 3d56bdae37

View File

@@ -271,13 +271,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)
{ {