aboutsummaryrefslogblamecommitdiff
path: root/www/chromium/files/patch-net_http_http__auth__gssapi__posix.cc
blob: 3978e7db98e042afc8efbe5155008733066f56c0 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                                       
                                      
                                                                          
                                                        
                        
                                                     


                                           
                                                        
                                                            


                                                                   
--- net/http/http_auth_gssapi_posix.cc.orig	2023-04-28 17:01:32 UTC
+++ net/http/http_auth_gssapi_posix.cc
@@ -370,8 +370,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