--- chrome/browser/webauthn/enclave_manager.cc.orig 2024-06-18 21:43:25 UTC +++ chrome/browser/webauthn/enclave_manager.cc @@ -652,7 +652,7 @@ std::string UserVerifyingLabelToString(crypto::UserVer } std::string UserVerifyingLabelToString(crypto::UserVerifyingKeyLabel label) { -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) return label; #else return std::string("placeholder"); @@ -661,7 +661,7 @@ std::optional UserVerif std::optional UserVerifyingKeyLabelFromString( std::string saved_label) { -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) return saved_label; #else return std::nullopt;