Skip to content

Commit

Permalink
Fix typos in comments
Browse files Browse the repository at this point in the history
  • Loading branch information
timopollmeier authored May 7, 2021
1 parent 6a406e8 commit 778bfa5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/manage_authentication.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ manage_authentication_setup (const char *pepper, unsigned int pepper_size,

if (tmp == NULL)
goto exit;
// ovly override pepper when pepper is initially set otherwise keep
// only override pepper when pepper is initially set otherwise keep
// previous pepper
for (i = 0; pepper != NULL && i < MAX_PEPPER_SIZE; i++)
settings.pepper[i] = tmp->pepper[i];
Expand All @@ -59,7 +59,7 @@ manage_authentication_setup (const char *pepper, unsigned int pepper_size,
* @brief creates a hash based on the settings set by
* manage_authentication_setup and the password.
*
* @param[in] passwod - the password to be hashed
* @param[in] password - the password to be hashed
* @return the hash or a NULL pointer on a failure.
* */
char *
Expand Down Expand Up @@ -103,4 +103,3 @@ manage_authentication_verify (const char *hash, const char *password)

return rc;
}

0 comments on commit 778bfa5

Please sign in to comment.