diff --git a/aws-lc-rs/Cargo.toml b/aws-lc-rs/Cargo.toml index 74208e04384..3a73fb760d0 100644 --- a/aws-lc-rs/Cargo.toml +++ b/aws-lc-rs/Cargo.toml @@ -1,9 +1,9 @@ [package] name = "aws-lc-rs" authors = ["AWS-LibCrypto"] -version = "1.12.2" +version = "1.12.3" # this crate re-exports whatever sys crate that was selected -links = "aws_lc_rs_1_12_2_sys" +links = "aws_lc_rs_1_12_3_sys" edition = "2021" rust-version = "1.63.0" keywords = ["crypto", "cryptography", "security"] diff --git a/aws-lc-rs/src/rsa/key.rs b/aws-lc-rs/src/rsa/key.rs index fdea6a322f6..1abc483f88e 100644 --- a/aws-lc-rs/src/rsa/key.rs +++ b/aws-lc-rs/src/rsa/key.rs @@ -340,6 +340,7 @@ impl PublicKey { } /// Returns the length in bytes of the public modulus. + #[must_use] pub fn modulus_len(&self) -> usize { self.modulus.len() }