--- components/os_crypt/async/common/encryptor.cc.orig 2024-10-22 08:31:56 UTC +++ components/os_crypt/async/common/encryptor.cc @@ -277,7 +277,7 @@ std::optional Encryptor::DecryptData( // or not encryption worked or not, and certainly not advisable to recommend // a re-encryption of this potentially invalid data. // TODO(crbug.com/365712505): Remove this fallback. -#if BUILDFLAG(IS_POSIX) && !BUILDFLAG(IS_APPLE) && \ +#if BUILDFLAG(IS_POSIX) && !BUILDFLAG(IS_APPLE) && !BUILDFLAG(IS_BSD) && \ !(BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CASTOS)) || \ BUILDFLAG(IS_FUCHSIA) if (plaintext == string_data) {