summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorRuss Allbery <eagle@eyrie.org>2014-01-06 11:00:47 -0800
committerRuss Allbery <rra@stanford.edu>2014-01-06 12:24:58 -0800
commit2aa939fde8a165ab5f374cb61ac43cbec81740c8 (patch)
treed94d541e2d8955cefd235fe6675aa6f919270330 /client
parentcf3b4d5630b41290c746d1b8fb69b37756c1106e (diff)
Change a stray HAVE_KERBEROS to HAVE_KRB5
I missed one when updating to the latest rra-c-util, leading to a leak of a Kerberos context and ticket cache. Change-Id: I7067399d0de116a574d348c0d89014d1b4ae4880 Reviewed-on: https://gerrit.stanford.edu/1363 Reviewed-by: Russ Allbery <rra@stanford.edu> Tested-by: Russ Allbery <rra@stanford.edu>
Diffstat (limited to 'client')
-rw-r--r--client/api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/api.c b/client/api.c
index d98b19b..a46de3f 100644
--- a/client/api.c
+++ b/client/api.c
@@ -492,7 +492,7 @@ remctl_close(struct remctl *r)
}
if (r->context != GSS_C_NO_CONTEXT)
gss_delete_sec_context(&minor, &r->context, GSS_C_NO_BUFFER);
-#ifdef HAVE_KERBEROS
+#ifdef HAVE_KRB5
if (r->krb_ctx != NULL) {
if (r->krb_ccache != NULL)
krb5_cc_close(r->krb_ctx, r->krb_ccache);