From 1fc2616d67808211c142a02fdbd01f07e87eb305 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20R.=20Sede=C3=B1o?= Date: Sun, 7 Feb 2010 18:58:51 -0500 Subject: [PATCH 10/13] Unix port: If we have a gssapi library, don't init again. --- unix/uxgss.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/unix/uxgss.c b/unix/uxgss.c index e6707cb..1557374 100644 --- a/unix/uxgss.c +++ b/unix/uxgss.c @@ -10,6 +10,7 @@ static void *gsslib = NULL; int ssh_gss_init(void) { + if (gsslib) return 1; /* Dynamically load gssapi lib here. */ /* 1) Heimdal's GSSAPI Library */ gsslib = dlopen("libgssapi.so.2", RTLD_LAZY); -- 1.6.6