1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-21 20:04:02 +00:00

Apply lints

This commit is contained in:
Isaiah Inuwa
2026-02-20 08:07:07 -06:00
parent 9702ca8a02
commit 00d56bccf2
2 changed files with 3 additions and 3 deletions

View File

@@ -27,7 +27,7 @@ use super::{
};
use crate::{
plugin::{
crypto::{self, OwnedRequestHash, RequestHash, Signature},
crypto::{self, OwnedRequestHash},
PluginGetAssertionRequest, PluginMakeCredentialRequest,
},
ErrorKind, WinWebAuthnError,

View File

@@ -195,7 +195,7 @@ fn verify_signature(
padding_info
.as_ref()
.map(|padding: &BCRYPT_PKCS1_PADDING_INFO| std::ptr::from_ref(padding).cast()),
&hash.0,
hash.0,
signature.0,
bcrypt_flags,
)
@@ -385,7 +385,7 @@ pub struct VerifyingKey {
impl VerifyingKey {
/// Verifies a signature over a request hash with the associated public key.
pub fn verify_signature(
pub(crate) fn verify_signature(
&self,
hash: RequestHash,
signature: Signature,