* init_ctx.c (get_profile_etype_list): Zero out multiple separator characters
authorKen Raeburn <raeburn@mit.edu>
Sat, 2 Jun 2001 01:10:58 +0000 (01:10 +0000)
committerKen Raeburn <raeburn@mit.edu>
Sat, 2 Jun 2001 01:10:58 +0000 (01:10 +0000)
between tokens, so the second can be recognized properly.

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

src/lib/krb5/krb/ChangeLog
src/lib/krb5/krb/init_ctx.c

index f30cd42d878d1e283c0928f6df57da343215f27a..155f35a5f3a931475a7cba5a28618959f3e59a2e 100644 (file)
@@ -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
index 6eb1b97f138a3b945709f742382babbacd073dc3..6a68720a0c6f3b619c6b79b777fca59a7dbd6d25 100644 (file)
@@ -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;