for extra separator characters (like spaces) between keysalts.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13507
dc483132-0cff-0310-8789-
dd5450dbe970
+2001-06-26 Ezra Peisach <epeisach@mit.edu>
+
+ * str_conv.c (krb5_string_to_keysalts): When parsing string, allow
+ for extra separator characters (like spaces) between keysalts.
+
2001-06-21 Ezra Peisach <epeisach@mit.edu>
* admin_internal.h (_KADM5_CHECK_HANDLE): Change code to ecode in
if (ep)
ep[-1] = trailchar;
kp = ep;
- }
+
+ /* Skip over extra separators - like spaces */
+ if (kp && *tseplist) {
+ septmp = tseplist;
+ while(*septmp && *kp) {
+ if(*septmp == *kp) {
+ /* Increment string - reset separator list */
+ kp++;
+ septmp = tseplist;
+ } else {
+ septmp++;
+ }
+ }
+ if (!*kp) kp = NULL;
+ }
+ } /* while kp */
return(kret);
}