From fa66f649a59f75a9101358b3b480a74f9c6d5801 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Mon, 10 Nov 2008 23:34:50 +0000 Subject: [PATCH] Delete replay cache before exiting with success indication git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@21068 dc483132-0cff-0310-8789-dd5450dbe970 --- src/appl/simple/client/sim_client.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/appl/simple/client/sim_client.c b/src/appl/simple/client/sim_client.c index d5a160793..4332018ad 100644 --- a/src/appl/simple/client/sim_client.c +++ b/src/appl/simple/client/sim_client.c @@ -325,6 +325,12 @@ main(argc, argv) printf("Sent encrypted message: %d bytes\n", i); krb5_free_data_contents(context, &packet); + retval = krb5_rc_destroy(context, rcache); + if (retval) { + com_err(progname, retval, "while deleting replay cache"); + exit(1); + } + krb5_auth_con_free(context, auth_context); krb5_free_context(context); -- 2.26.2