summaryrefslogtreecommitdiff
path: root/client/wallet.c
diff options
context:
space:
mode:
authorJon Robertson <jonrober@stanford.edu>2010-07-27 17:08:56 -0700
committerJon Robertson <jonrober@stanford.edu>2010-07-27 17:08:56 -0700
commit5047dee97b80e2db2c57a2654a549e87411c1813 (patch)
treeff8d01c006398932437665fb507cc3245d7f589d /client/wallet.c
parent534f2111ab41ed63024d811a3d8f5b81256d83a9 (diff)
Finished first pass of the rekey command
Cleaned up several bugs preventing the rekey command from working (bad calls to variables, matching on version of principal name already stripped of realm), and removed debugging code.
Diffstat (limited to 'client/wallet.c')
-rw-r--r--client/wallet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/wallet.c b/client/wallet.c
index 9c1eb09..d61fc74 100644
--- a/client/wallet.c
+++ b/client/wallet.c
@@ -245,7 +245,7 @@ main(int argc, char *argv[])
} else if (strcmp(argv[0], "rekey") == 0) {
if (argc > 2)
die("too many arguments");
- status = rekey_keytab(r, ctx, "keytab", argv[1]);
+ status = rekey_keytab(r, ctx, options.type, argv[1]);
} else {
count = argc + 1;
if (strcmp(argv[0], "store") == 0) {