Although destroying any partial contents of dst on error isn't a bad
idea, invalidating the handle would be an incompatible change. So
revert that part of r24754.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24988
dc483132-0cff-0310-8789-
dd5450dbe970
* @retval
* 0 Success; @a src is closed.
* @return
- * Kerberos error codes; @a src is still allocated, while @a dst is closed.
+ * Kerberos error codes; @a src is still allocated.
*/
krb5_error_code KRB5_CALLCONV
krb5_cc_move(krb5_context context, krb5_ccache src, krb5_ccache dst);
krb5_cc_unlock(context, src);
if (!ret) {
ret = krb5_cc_destroy(context, src);
- } else {
- ret = krb5_cc_destroy(context, dst);
}
krb5_cccol_unlock(context);
if (princ) {