summaryrefslogtreecommitdiffstats
path: root/src/tests/asn.1/ktest.c
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2012-01-08 21:54:29 +0000
committerGreg Hudson <ghudson@mit.edu>2012-01-08 21:54:29 +0000
commit8cbd9cd9c5a9663f89f4be8a09efe1a5ad217747 (patch)
treee3aff502a5e1990648e27ba2f952ddddbff2c077 /src/tests/asn.1/ktest.c
parent94cfb9542c15bb54a786fa62c26f357d183cea41 (diff)
downloadkrb5-8cbd9cd9c5a9663f89f4be8a09efe1a5ad217747.tar.gz
krb5-8cbd9cd9c5a9663f89f4be8a09efe1a5ad217747.tar.xz
krb5-8cbd9cd9c5a9663f89f4be8a09efe1a5ad217747.zip
Remove unneeded kdcRealm field in PKINIT structure
krb5_pk_authenticator_draft9 had a kdcRealm field which was set by the client code but never encoded or decoded. Remove it. Eliminating this field exposed a bug in auth_pack_draft9_optional; fix that. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25624 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/tests/asn.1/ktest.c')
-rw-r--r--src/tests/asn.1/ktest.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/tests/asn.1/ktest.c b/src/tests/asn.1/ktest.c
index a7cfd66b1b..27b1f624f9 100644
--- a/src/tests/asn.1/ktest.c
+++ b/src/tests/asn.1/ktest.c
@@ -630,7 +630,6 @@ static void
ktest_make_sample_pk_authenticator_draft9(krb5_pk_authenticator_draft9 *p)
{
ktest_make_sample_principal(&p->kdcName);
- ktest_make_sample_data(&p->kdcRealm);
p->cusec = SAMPLE_USEC;
p->ctime = SAMPLE_TIME;
p->nonce = SAMPLE_NONCE;
@@ -1443,7 +1442,6 @@ static void
ktest_empty_pk_authenticator_draft9(krb5_pk_authenticator_draft9 *p)
{
ktest_destroy_principal(&p->kdcName);
- ktest_empty_data(&p->kdcRealm);
}
static void