]> git.ipfire.org Git - thirdparty/krb5.git/commit
Refactor krb5_string_to_keysalts()
authorTom Yu <tlyu@mit.edu>
Tue, 7 Jan 2014 21:37:46 +0000 (16:37 -0500)
committerTom Yu <tlyu@mit.edu>
Wed, 8 Jan 2014 20:29:04 +0000 (15:29 -0500)
commit0918990bf1d8560d74473fc0e41d08d433da1a15
tree035b02ca867c6fc86e7e6e2d49c65b2bfad0635d
parent22942c4fdd376402dc2c9ec0337c70132ce615cb
Refactor krb5_string_to_keysalts()

Use various standard C library functions rather than rolling our own.
Previous code spent many lines reimplementing realloc(), strpbrk(),
strtok_r(), etc.

Make a separate string_to_keysalt() parser for an individual keysalt
pair, which for now is private and destructive.
src/lib/kadm5/str_conv.c