aboutsummaryrefslogtreecommitdiff
path: root/src/tests/threads/t_rcache.c
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2009-01-12 18:29:42 +0000
committerGreg Hudson <ghudson@mit.edu>2009-01-12 18:29:42 +0000
commit529e72785f09c36a9aa34fd7f3fc30fb41a1c92e (patch)
treef3eabb982f7d8eb8cedf54fa4389d8ccc99ebd19 /src/tests/threads/t_rcache.c
parent648e32a9034138369d52f9bb29d3d6293d5733e5 (diff)
downloadkrb5-529e72785f09c36a9aa34fd7f3fc30fb41a1c92e.zip
krb5-529e72785f09c36a9aa34fd7f3fc30fb41a1c92e.tar.gz
krb5-529e72785f09c36a9aa34fd7f3fc30fb41a1c92e.tar.bz2
Add message hash support to the replay interface, using extension
records (with an empty client string) to retain compatibility with old code. For rd_req, the ciphertext of the authenticator (with no ASN.1 wrapping) is hashed; for other uses of the replay cache, no message hash is used at this time. This commit adds a command-line tool for testing the replay cache but does not add any automated tests. ticket: 1201 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@21723 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/tests/threads/t_rcache.c')
-rw-r--r--src/tests/threads/t_rcache.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tests/threads/t_rcache.c b/src/tests/threads/t_rcache.c
index 06f4d3b..3a654a4 100644
--- a/src/tests/threads/t_rcache.c
+++ b/src/tests/threads/t_rcache.c
@@ -62,6 +62,7 @@ static void try_one (struct tinfo *t)
buf);
r.server = buf;
r.client = (t->my_cusec & 7) + "abcdefgh@ATHENA.MIT.EDU";
+ r.msghash = NULL;
if (t->now != t->my_ctime) {
if (t->my_ctime != 0) {
snprintf(buf2, sizeof(buf2), "%3d: %ld %5d\n", t->idx,