Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix more typos - not found by codespell! #185

Merged
merged 1 commit into from
Sep 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

## Pre-built Packages

LibJWT is available in most Linux distribitons as well as through [Homebrew](https://brew.sh/)
LibJWT is available in most Linux distributions as well as through [Homebrew](https://brew.sh/)
for macOS and Windows.

## Build Instructions
Expand Down
2 changes: 1 addition & 1 deletion include/jwt.h
Original file line number Diff line number Diff line change
Expand Up @@ -715,7 +715,7 @@ JWT_EXPORT void jwt_get_alloc(jwt_malloc_t *pmalloc, jwt_realloc_t *prealloc, jw
/** @} */

/**
* @defgroup jwt_vaildate JWT validation functions
* @defgroup jwt_validate JWT validation functions
* These functions allow you to define requirements for JWT validation.
*
* The most basic validation is that the JWT uses the expected algorithm.
Expand Down
2 changes: 1 addition & 1 deletion libjwt/base64.c
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ int jwt_Base64decode(char *bufplain, const char *bufcoded)
nprbytes -= 4;
}

/* Note: (nprbytes == 1) would be an error, so just ingore that case */
/* Note: (nprbytes == 1) would be an error, so just ignore that case */
if (nprbytes > 1) {
*(bufout++) =
(unsigned char) (pr2six[*bufin] << 2 | pr2six[bufin[1]] >> 4);
Expand Down