aboutsummaryrefslogtreecommitdiff
path: root/www/ungoogled-chromium/files/patch-net_http_http__auth__gssapi__posix.cc
blob: b459a051430fad2713d0fc0e17293539f15ccac0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- net/http/http_auth_gssapi_posix.cc.orig	2022-10-01 07:40:07 UTC
+++ net/http/http_auth_gssapi_posix.cc
@@ -368,8 +368,9 @@ base::NativeLibrary GSSAPISharedLibrary::LoadSharedLib
     static const char* const kDefaultLibraryNames[] = {
 #if BUILDFLAG(IS_APPLE)
       "/System/Library/Frameworks/GSS.framework/GSS"
-#elif BUILDFLAG(IS_OPENBSD)
-      "libgssapi.so"  // Heimdal - OpenBSD
+#elif BUILDFLAG(IS_BSD)
+      "libgssapi_krb5.so.2",  // MIT Kerberos - FreeBSD
+      "libgssapi.so"          // Heimdal - OpenBSD, FreeBSD
 #else
       "libgssapi_krb5.so.2",  // MIT Kerberos - FC, Suse10, Debian
       "libgssapi.so.4",       // Heimdal - Suse10, MDK