(renew_validate): invert condition correctly. get v4 tickets if we
succeed renewing git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10361 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -365,7 +365,7 @@ renew_validate(krb5_context context,
|
|||||||
ret = krb5_cc_store_cred(context, cache, out);
|
ret = krb5_cc_store_cred(context, cache, out);
|
||||||
|
|
||||||
#ifdef KRB4
|
#ifdef KRB4
|
||||||
if(ret != 0 && server == NULL) {
|
if(ret == 0 && server == NULL) {
|
||||||
/* only do this if it's a general renew-my-tgt request */
|
/* only do this if it's a general renew-my-tgt request */
|
||||||
if(get_v4_tgt)
|
if(get_v4_tgt)
|
||||||
do_524init(context, cache, out, NULL);
|
do_524init(context, cache, out, NULL);
|
||||||
|
Reference in New Issue
Block a user