Skip to content

Commit

Permalink
clang tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
prince-chrismc committed Dec 24, 2023
1 parent 59fb8cb commit a29443b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/jwks-verify.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ ARS9Ln8Wh5RsFuw/Y7Grg8FsoAVzV/Pns4cwjZG75ezXfk4UVpr4oO4B5jzazzCR
// https://stackoverflow.com/a/30138974
unsigned char nonce[24];
RAND_bytes(nonce, sizeof(nonce));
std::string jti = jwt::base::encode<jwt::alphabet::base64url>(std::string{(const char*)nonce, sizeof(nonce)});
std::string jti = jwt::base::encode<jwt::alphabet::base64url>(std::string{reinterpret_cast<const char*>(nonce), sizeof(nonce)});

std::string token = jwt::create()
.set_issuer("auth0")
Expand Down

0 comments on commit a29443b

Please sign in to comment.