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

Use correct BOOL type instead of bool.

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

View File

@@ -849,14 +849,14 @@ impl PluginMakeCredentialResponse {
pbCredentialId,
Extensions: extensions,
dwUsedTransport,
bEpAtt: self.ep_att,
bLargeBlobSupported: self.large_blob_supported,
bResidentKey: self.resident_key,
bPrfEnabled: self.prf_enabled,
bEpAtt: self.ep_att.into(),
bLargeBlobSupported: self.large_blob_supported.into(),
bResidentKey: self.resident_key.into(),
bPrfEnabled: self.prf_enabled.into(),
cbUnsignedExtensionOutputs,
pbUnsignedExtensionOutputs,
pHmacSecret,
bThirdPartyPayment: self.third_party_payment,
bThirdPartyPayment: self.third_party_payment.into(),
dwTransports,
cbClientDataJSON,
pbClientDataJSON,

View File

@@ -6,7 +6,7 @@
use std::{collections::HashSet, marker::PhantomData, num::NonZeroU32, ptr::NonNull};
use ciborium::Value;
use windows_core::PCWSTR;
use windows::core::{BOOL, PCWSTR};
use crate::{util::ArrayPointerIterator, ErrorKind, WinWebAuthnError};
@@ -425,13 +425,13 @@ pub(crate) struct WEBAUTHN_CREDENTIAL_ATTESTATION {
//
// Following fields have been added in WEBAUTHN_CREDENTIAL_ATTESTATION_VERSION_4
pub(crate) bEpAtt: bool,
pub(crate) bLargeBlobSupported: bool,
pub(crate) bResidentKey: bool,
pub(crate) bEpAtt: BOOL,
pub(crate) bLargeBlobSupported: BOOL,
pub(crate) bResidentKey: BOOL,
//
// Following fields have been added in WEBAUTHN_CREDENTIAL_ATTESTATION_VERSION_5
pub(crate) bPrfEnabled: bool,
pub(crate) bPrfEnabled: BOOL,
//
// Following fields have been added in WEBAUTHN_CREDENTIAL_ATTESTATION_VERSION_6
@@ -444,7 +444,7 @@ pub(crate) struct WEBAUTHN_CREDENTIAL_ATTESTATION {
pub(crate) pHmacSecret: *const WEBAUTHN_HMAC_SECRET_SALT,
// ThirdPartyPayment Credential or not.
pub(crate) bThirdPartyPayment: bool,
pub(crate) bThirdPartyPayment: BOOL,
//
// Following fields have been added in WEBAUTHN_CREDENTIAL_ATTESTATION_VERSION_8