svn rev #24637: trunk/src/lib/kadm5/srv/

ghudson@MIT.EDU ghudson at MIT.EDU
Sun Feb 13 17:36:13 EST 2011


http://src.mit.edu/fisheye/changelog/krb5/?cs=24637
Commit By: ghudson
Log Message:
In kadm5_rename_principal, fix an oversight which would cause errors
from krb5_principal2salt_norealm to be ignored.



Changed Files:
U   trunk/src/lib/kadm5/srv/svr_principal.c
Modified: trunk/src/lib/kadm5/srv/svr_principal.c
===================================================================
--- trunk/src/lib/kadm5/srv/svr_principal.c	2011-02-13 21:14:43 UTC (rev 24636)
+++ trunk/src/lib/kadm5/srv/svr_principal.c	2011-02-13 22:36:13 UTC (rev 24637)
@@ -762,7 +762,8 @@
                 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;




More information about the cvs-krb5 mailing list