From: Greg Hudson Date: Sun, 13 Feb 2011 22:36:13 +0000 (+0000) Subject: In kadm5_rename_principal, fix an oversight which would cause errors X-Git-Tag: krb5-1.10-alpha1~591 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=044ff40ad847d456db37541c9c2befb41163bf17;p=krb5.git In kadm5_rename_principal, fix an oversight which would cause errors from krb5_principal2salt_norealm to be ignored. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24637 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/kadm5/srv/svr_principal.c b/src/lib/kadm5/srv/svr_principal.c index 9abb4e6d6..3dcac0d43 100644 --- a/src/lib/kadm5/srv/svr_principal.c +++ b/src/lib/kadm5/srv/svr_principal.c @@ -762,7 +762,8 @@ kadm5_rename_principal(void *server_handle, goto done; break; case KRB5_KDB_SALTTYPE_NOREALM: - krb5_principal2salt_norealm(handle->context, kdb->princ, &sdata); + ret = krb5_principal2salt_norealm(handle->context, kdb->princ, + &sdata); if (ret) goto done; break;