Skip to content

Commit

Permalink
Internal Code Change
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 594566540
Change-Id: I8f86d45fa960c68ad0c814f17266c38cc97c3141
  • Loading branch information
ise-crypto authored and copybara-github committed Dec 30, 2023
1 parent 4f22bac commit 9bde13f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/jwt/jwt_generate_public_jwk_set.cc
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ int main(int argc, char** argv) {

std::clog << "Convert public keyset in " << public_keyset_filename << " to ";
std::clog << " to JWK set format; the result is written to "
<< public_jwk_set_filename << std::endl;
<< public_jwk_set_filename << '\n';

CHECK_OK(tink_cc_examples::JwtGeneratePublicJwkSet(public_keyset_filename,
public_jwk_set_filename));
Expand Down
2 changes: 1 addition & 1 deletion examples/jwt/jwt_sign.cc
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ int main(int argc, char** argv) {
std::clog << "Using keyset in " << keyset_filename << " to ";
std::clog << " generate and sign a token using audience '" << audience
<< "'; the resulting signature is written to " << token_filename
<< std::endl;
<< '\n';

CHECK_OK(
tink_cc_examples::JwtSign(keyset_filename, audience, token_filename));
Expand Down
3 changes: 1 addition & 2 deletions examples/jwt/jwt_verify.cc
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,7 @@ int main(int argc, char** argv) {
std::string token_filename = absl::GetFlag(FLAGS_token_filename);

std::clog << "Using keyset in " << jwk_set_filename << " to ";
std::clog << " verify a token with expected audience '" << audience
<< std::endl;
std::clog << " verify a token with expected audience '" << audience << '\n';

CHECK_OK(
tink_cc_examples::JwtVerify(jwk_set_filename, audience, token_filename));
Expand Down

0 comments on commit 9bde13f

Please sign in to comment.