krb5_string_to_deltat should default to seconds if no unit is provided. If the format is invalid, it should return a distinct error (KRB5_DELTAT_BADFORMAT, not EINVAL). To generate a diff of this commit: cvs diff -r5.5 -r5.6 krb5/src/lib/krb5/krb/deltat.c