Skip to content

Commit

Permalink
Use cred marshalling functions in cc_file.c
Browse files Browse the repository at this point in the history
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
greghudson committed May 17, 2014
1 parent d3dd3d1 commit b99c7c7
Showing 1 changed file with 170 additions and 653 deletions.

0 comments on commit b99c7c7

Please sign in to comment.