From 7d9830c6244fae5f2d6f2bdcb256c172affd2aca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20R.=20Sede=C3=B1o?= Date: Sun, 7 Feb 2010 17:50:06 -0500 Subject: [PATCH 08/13] Switch the order of libgssapi_krb5 and libgssapi This matches the order PuTTY used to search for them in. --- unix/uxgss.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/unix/uxgss.c b/unix/uxgss.c index d421287..396324e 100644 --- a/unix/uxgss.c +++ b/unix/uxgss.c @@ -11,11 +11,11 @@ static void *gsslib = NULL; int ssh_gss_init(void) { /* Dynamically load gssapi lib here. */ - /* 1) MIT Kerberos's GSSAPI Library */ - gsslib = dlopen("libgssapi_krb5.so.2", RTLD_LAZY); - /* 2) Heimdal's GSSAPI Library */ + /* 1) Heimdal's GSSAPI Library */ + gsslib = dlopen("libgssapi.so.2", RTLD_LAZY); + /* 2) MIT Kerberos's GSSAPI Library */ if (!gsslib) - gsslib = dlopen("libgssapi.so.2", RTLD_LAZY); + gsslib = dlopen("libgssapi_krb5.so.2", RTLD_LAZY); /* Bind function pointers here. */ if (gsslib) { -- 1.6.6