From dd83f180fe01ad4acb963bfd67222d1512ad73ab Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Thu, 22 May 2003 15:46:27 +0000 Subject: [PATCH] * kdb5_mkdums.c (main): When attempting to register writable keytab, do not fail if error is KRB5_KT_TYPE_EXISTS. Ticket: 1501 Target_Version: 1.3 Tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15464 dc483132-0cff-0310-8789-dd5450dbe970 --- src/tests/create/ChangeLog | 5 +++++ src/tests/create/kdb5_mkdums.c | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/tests/create/ChangeLog b/src/tests/create/ChangeLog index 02e46dfbc..001b6b1f4 100644 --- a/src/tests/create/ChangeLog +++ b/src/tests/create/ChangeLog @@ -1,3 +1,8 @@ +2003-05-22 Ezra Peisach + + * kdb5_mkdums.c (main): When attempting to register writable + keytab, do not fail if error is KRB5_KT_TYPE_EXISTS. + 2002-08-29 Ken Raeburn * Makefile.in: Revert $(S)=>/ change, for Windows support. diff --git a/src/tests/create/kdb5_mkdums.c b/src/tests/create/kdb5_mkdums.c index d9c34062d..4a1f0e94f 100644 --- a/src/tests/create/kdb5_mkdums.c +++ b/src/tests/create/kdb5_mkdums.c @@ -151,9 +151,11 @@ main(argc, argv) if ((retval = krb5_kt_register(test_context, &krb5_ktf_writable_ops))) { - com_err(progname, retval, + if (retval != KRB5_KT_TYPE_EXISTS) { + com_err(progname, retval, "while registering writable key table functions"); - exit(1); + exit(1); + } } if (!enctypedone) -- 2.26.2