summaryrefslogtreecommitdiff
path: root/client/wallet.c
diff options
context:
space:
mode:
authorRuss Allbery <rra@stanford.edu>2010-02-09 14:00:35 -0800
committerRuss Allbery <rra@stanford.edu>2010-02-09 14:00:35 -0800
commit3b7b000d2d2423a578c0ddfa63773764417aec9e (patch)
tree2aec3b6d482053845d66a01b011ace36482eb9c0 /client/wallet.c
parentb7af0beced6e891a652d4caf36a2ec498090a955 (diff)
Use a temporary disk cache in the wallet client instead of memory
The wallet client now uses a temporary disk ticket cache when obtaining tickets with the -u option rather than an in-memory cache, allowing for a libremctl built against a different Kerberos implementation than the wallet client. This primarily helps with testing.
Diffstat (limited to 'client/wallet.c')
-rw-r--r--client/wallet.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/client/wallet.c b/client/wallet.c
index 89135dd..4225d45 100644
--- a/client/wallet.c
+++ b/client/wallet.c
@@ -260,5 +260,7 @@ main(int argc, char *argv[])
}
remctl_close(r);
krb5_free_context(ctx);
+ if (options.user != NULL)
+ kdestroy();
exit(status);
}