diff options
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/krb5/krb/ChangeLog | 6 | ||||
| -rw-r--r-- | src/lib/krb5/krb/init_ctx.c | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/src/lib/krb5/krb/ChangeLog b/src/lib/krb5/krb/ChangeLog index f30cd42d8..155f35a5f 100644 --- a/src/lib/krb5/krb/ChangeLog +++ b/src/lib/krb5/krb/ChangeLog @@ -1,3 +1,9 @@ +2001-06-01 Ken Raeburn <raeburn@mit.edu> + + * init_ctx.c (get_profile_etype_list): Zero out multiple separator + characters between tokens, so the second can be recognized + properly. + 2001-04-04 Tom Yu <tlyu@mit.edu> * mk_safe.c (krb5_mk_safe): Only use safe_cksumtype from the diff --git a/src/lib/krb5/krb/init_ctx.c b/src/lib/krb5/krb/init_ctx.c index 6eb1b97f1..6a68720a0 100644 --- a/src/lib/krb5/krb/init_ctx.c +++ b/src/lib/krb5/krb/init_ctx.c @@ -333,8 +333,8 @@ get_profile_etype_list(context, ktypes, profstr, ctx_count, ctx_list) ; if (*ep) { *ep++ = '\0'; - while (isspace(*ep)) - ep++; + while (isspace(*ep) || *ep == ',') + *ep++ = '\0'; } else ep = (char *) NULL; |
