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

Fix missing #[repr(C)] annotations

This commit is contained in:
Isaiah Inuwa
2026-02-20 08:18:27 -06:00
parent 075a9521f6
commit c4bb6283f1
2 changed files with 2 additions and 0 deletions

View File

@@ -1166,6 +1166,7 @@ fn webauthn_free_decoded_get_assertion_request(
) -> ());
// CancelOperation Types
#[repr(C)]
pub(super) struct WEBAUTHN_PLUGIN_CANCEL_OPERATION_REQUEST {
transactionId: GUID,
cbRequestSignature: u32,

View File

@@ -465,6 +465,7 @@ pub(crate) struct WEBAUTHN_CREDENTIAL_ATTESTATION {
pub(crate) pbRegistrationResponseJSON: *const u8,
}
#[repr(C)]
pub(crate) struct WEBAUTHN_HMAC_SECRET_SALT {
/// Size of pbFirst.
_cbFirst: u32,