From d018008156cc1c5ffa3991edf126a1784398ec80 Mon Sep 17 00:00:00 2001 From: Ioana Nedelcu Date: Fri, 10 Nov 2023 05:36:47 -0800 Subject: [PATCH] Fix optional comparison. PiperOrigin-RevId: 581223449 Change-Id: I5c855f581d51f366d5e86d74f775dee958914ec9 --- tink/signature/rsa_ssa_pkcs1_parameters.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tink/signature/rsa_ssa_pkcs1_parameters.cc b/tink/signature/rsa_ssa_pkcs1_parameters.cc index fde1a7e2..92a5fdc1 100644 --- a/tink/signature/rsa_ssa_pkcs1_parameters.cc +++ b/tink/signature/rsa_ssa_pkcs1_parameters.cc @@ -85,7 +85,7 @@ util::StatusOr 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 ",