[krbdev.mit.edu #7929] git commit
Greg Hudson via RT
rt-comment at krbdev.mit.edu
Mon Jun 2 18:53:30 EDT 2014
Add ASN.1 codec for KKDCP's KDC-PROXY-MESSAGE
Handle encoding and decoding [MS-KKDCP] proxy messages, including
handling of the additional length bytes. Early versions of [MS-KKDCP]
incorrectly omit that the size of the proxied message is prepended to
the proxied message, as it is when we're using plain TCP, before
encoding the proxy-message structure. This is fixed at least as of
version 2.1 of the spec.
[nalin at redhat.com: add tests]
https://github.com/krb5/krb5/commit/bb89afd7c59deea855d2818fe36ef7472b4abf2e
Author: Nathaniel McCallum <npmccallum at redhat.com>
Committer: Greg Hudson <ghudson at mit.edu>
Commit: bb89afd7c59deea855d2818fe36ef7472b4abf2e
Branch: master
src/include/k5-int.h | 13 ++++++++++++
src/lib/krb5/asn.1/asn1_k_encode.c | 14 ++++++++++++
src/lib/krb5/krb/kfree.c | 10 +++++++++
src/lib/krb5/libkrb5.exports | 3 ++
src/tests/asn.1/krb5_decode_test.c | 18 ++++++++++++++++
src/tests/asn.1/krb5_encode_test.c | 8 +++++++
src/tests/asn.1/ktest.c | 23 +++++++++++++++++++++
src/tests/asn.1/ktest.h | 5 ++++
src/tests/asn.1/ktest_equal.c | 12 +++++++++++
src/tests/asn.1/ktest_equal.h | 3 ++
src/tests/asn.1/reference_encode.out | 1 +
src/tests/asn.1/trval_reference.out | 37 ++++++++++++++++++++++++++++++++++
12 files changed, 147 insertions(+), 0 deletions(-)
More information about the krb5-bugs
mailing list