Skip to content

Commit

Permalink
Fix optional<int> comparison.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 581223449
Change-Id: I5c855f581d51f366d5e86d74f775dee958914ec9
  • Loading branch information
ioannanedelcu authored and copybara-github committed Nov 10, 2023
1 parent f14df77 commit d018008
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tink/signature/rsa_ssa_pkcs1_parameters.cc
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ util::StatusOr<RsaSsaPkcs1Parameters> RsaSsaPkcs1Parameters::Builder::Build() {
}

// Validate modulus size.
if (modulus_size_in_bits_ < 2048) {
if (*modulus_size_in_bits_ < 2048) {
return util::Status(
absl::StatusCode::kInvalidArgument,
absl::StrCat("Invalid key size: must be at least 2048 bits, got ",
Expand Down

0 comments on commit d018008

Please sign in to comment.