diff options
author | Greg Hudson <ghudson@mit.edu> | 2019-06-01 13:37:14 -0400 |
---|---|---|
committer | Greg Hudson <ghudson@mit.edu> | 2019-06-04 02:17:50 -0400 |
commit | dcb853ac32779b173f39e19c0f24b0087de85771 (patch) | |
tree | 5cc271b72ccfce9304f6a604147412aacd042d4c /doc/coding-style | |
parent | 0e68760cb8dce4ea25fd73d6eab95bce103b6443 (diff) | |
download | krb5-dcb853ac32779b173f39e19c0f24b0087de85771.zip krb5-dcb853ac32779b173f39e19c0f24b0087de85771.tar.gz krb5-dcb853ac32779b173f39e19c0f24b0087de85771.tar.bz2 |
Simplify and modernize replay cache interface
Remove all of the replay cache methods except for resolve, close, and
store. Rename the dispatch functions to use a k5_ prefix to indicate
that they are not part of the libkrb5 API. Remove the unused code for
registering replay cache types at runtime.
Remove the krb5_donot_replay structure, as the only concrete replay
cache type just needs the authenticator checksum. Identify the
checksum part of the authenticator ciphertext at the dispatch layer.
Handle container allocation at the dispatch layer so that each replay
cache type only needs to work with its data pointer. Remember the
full name at the dispatch layer to implement a get_name operation.
Consolidate what remains of rcfns.c and rc_conv.c into rc_base.c.
Use k5_rc_default() in preference to krb5_get_server_rcache() since
they now do the same thing. Remove the sim_client code to create a
replay cache, as the per-message functions use a memory reply cache
now.
Diffstat (limited to 'doc/coding-style')
0 files changed, 0 insertions, 0 deletions