ports/devel/electron35/files/patch-chrome_browser_webauthn_enclave__manager.cc
Hiroki Tagato 3fe2f64857 devel/electron35: add port: Build cross-platform desktop apps with JavaScript, HTML, and CSS
Build cross platform desktop apps with JavaScript, HTML, and CSS.

It's easier than you think.

If you can build a website, you can build a desktop app. Electron is a
framework for creating native applications with web technologies like
JavaScript, HTML, and CSS. It takes care of the hard parts so you can
focus on the core of your application.

WWW: https://electronjs.org/
2025-04-08 21:01:02 +09:00

20 lines
895 B
C++

--- chrome/browser/webauthn/enclave_manager.cc.orig 2025-03-24 20:50:14 UTC
+++ chrome/browser/webauthn/enclave_manager.cc
@@ -710,7 +710,7 @@ std::string UserVerifyingLabelToString(crypto::UserVer
std::string UserVerifyingLabelToString(crypto::UserVerifyingKeyLabel label) {
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
- BUILDFLAG(IS_CHROMEOS_ASH)
+ BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD)
return label;
#else
return std::string("placeholder");
@@ -720,7 +720,7 @@ std::optional<crypto::UserVerifyingKeyLabel> UserVerif
std::optional<crypto::UserVerifyingKeyLabel> UserVerifyingKeyLabelFromString(
std::string saved_label) {
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
- BUILDFLAG(IS_CHROMEOS_ASH)
+ BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD)
return saved_label;
#else
return std::nullopt;