]> git.ipfire.org Git - thirdparty/krb5.git/commit
Refactor dump.c
authorGreg Hudson <ghudson@mit.edu>
Wed, 6 Feb 2013 19:49:09 +0000 (14:49 -0500)
committerGreg Hudson <ghudson@mit.edu>
Wed, 6 Feb 2013 20:17:33 +0000 (15:17 -0500)
commitd055554b7c338bac0e7a679b431c7faaf53819c9
treed45753883f5142ed77c00564cc57fe57d36827b5
parent8085307245cb798bd2b750f27345cf4ece4e9bfa
Refactor dump.c

When dumping, use a common iterator function to unpack the dump_args
structure, unparse and filter the principal name, and convert master
keys.  Add helper functions to dump and load the "octets or -1" format
used for optional binary fields in the current dump format.
src/kadmin/dbutil/dump.c