From 9bde13f41be0e66efbae9c1d0c6d318ff20a8c6f Mon Sep 17 00:00:00 2001 From: Tink Team Date: Sat, 30 Dec 2023 00:21:56 -0800 Subject: [PATCH] Internal Code Change PiperOrigin-RevId: 594566540 Change-Id: I8f86d45fa960c68ad0c814f17266c38cc97c3141 --- examples/jwt/jwt_generate_public_jwk_set.cc | 2 +- examples/jwt/jwt_sign.cc | 2 +- examples/jwt/jwt_verify.cc | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/examples/jwt/jwt_generate_public_jwk_set.cc b/examples/jwt/jwt_generate_public_jwk_set.cc index 1836e4e5..f49e6a8e 100644 --- a/examples/jwt/jwt_generate_public_jwk_set.cc +++ b/examples/jwt/jwt_generate_public_jwk_set.cc @@ -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)); diff --git a/examples/jwt/jwt_sign.cc b/examples/jwt/jwt_sign.cc index a7cc068d..41da5412 100644 --- a/examples/jwt/jwt_sign.cc +++ b/examples/jwt/jwt_sign.cc @@ -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)); diff --git a/examples/jwt/jwt_verify.cc b/examples/jwt/jwt_verify.cc index 1d346393..904534ef 100644 --- a/examples/jwt/jwt_verify.cc +++ b/examples/jwt/jwt_verify.cc @@ -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));