kim_credential_get_options was setting the lifetime a second time instead of setting...
authorJustin Anderson <jander@mit.edu>
Sat, 27 Sep 2008 19:18:48 +0000 (19:18 +0000)
committerJustin Anderson <jander@mit.edu>
Sat, 27 Sep 2008 19:18:48 +0000 (19:18 +0000)
ticket: 6055

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20764 dc483132-0cff-0310-8789-dd5450dbe970

src/kim/lib/kim_credential.c

index 61fbafa488d21d82be87de08c1a44222023d7e40..8a8b6cd0b6b200c14958c918a1624c8719bb82c5 100644 (file)
@@ -893,7 +893,7 @@ kim_error kim_credential_get_options (kim_credential  in_credential,
         kim_lifetime rlifetime = (creds->ticket_flags & TKT_FLG_RENEWABLE ?
                                   creds->times.renew_till : 0);
         
-        err = kim_options_set_lifetime (options, rlifetime);
+        err = kim_options_set_renewal_lifetime (options, rlifetime);
     }
     
     if (!err) {