Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use cred marshalling functions in cc_file.c
Replace the cc_file.c credential and principal marshalling and unmarshalling functions with calls to the ccmarshal.c functions. For unmarshalling, we still need code to read the appropriate amount of data into a memory buffer. Because there is no outer length header for principals and credentials, this code needs to understand the credential and principal representations, but is much simpler than the old code as it only needs to store the data it reads, not assemble a data structure.
- Loading branch information