--- components/os_crypt/async/common/encryptor.cc.orig 2024-10-27 06:40:35 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) {