From 01ea1dbbef0647e890c9cb615e31586877cd98fd Mon Sep 17 00:00:00 2001 From: Chris Provenzano Date: Wed, 6 Sep 1995 19:13:02 +0000 Subject: [PATCH] * scc_read.c, scc_write.c : s/keytype/enctype/g, s/KEYTYPE/ENCTYPE/g git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6723 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/ccache/stdio/ChangeLog | 3 +++ src/lib/krb5/ccache/stdio/scc_read.c | 6 +++--- src/lib/krb5/ccache/stdio/scc_write.c | 4 ++-- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/src/lib/krb5/ccache/stdio/ChangeLog b/src/lib/krb5/ccache/stdio/ChangeLog index 9f797ce47..1d84c8aac 100644 --- a/src/lib/krb5/ccache/stdio/ChangeLog +++ b/src/lib/krb5/ccache/stdio/ChangeLog @@ -1,3 +1,6 @@ +Wed Sep 06 14:20:57 1995 Chris Provenzano (proven@mit.edu) + + * scc_read.c, scc_write.c : s/keytype/enctype/g, s/KEYTYPE/ENCTYPE/g Tue Sep 05 22:58:52 1995 diff --git a/src/lib/krb5/ccache/stdio/scc_read.c b/src/lib/krb5/ccache/stdio/scc_read.c index 633e9e1df..de297949d 100644 --- a/src/lib/krb5/ccache/stdio/scc_read.c +++ b/src/lib/krb5/ccache/stdio/scc_read.c @@ -197,12 +197,12 @@ krb5_scc_read_keyblock(context, id, keyblock) keyblock->contents = 0; kret = krb5_scc_read_ui_2(context, id, &ui2); - keyblock->keytype = ui2; + keyblock->enctype = ui2; CHECK(kret); if (data->version == KRB5_SCC_FVNO_3) { - /* This works because the old etype is the same as the new keytype. */ + /* This works because the old etype is the same as the new enctype. */ kret = krb5_scc_read_ui_2(context, id, &ui2); - keyblock->keytype = ui2; + keyblock->enctype = ui2; CHECK(kret); } diff --git a/src/lib/krb5/ccache/stdio/scc_write.c b/src/lib/krb5/ccache/stdio/scc_write.c index 4347b5e23..3c552004a 100644 --- a/src/lib/krb5/ccache/stdio/scc_write.c +++ b/src/lib/krb5/ccache/stdio/scc_write.c @@ -148,10 +148,10 @@ krb5_scc_store_keyblock(context, id, keyblock) krb5_scc_data *data = (krb5_scc_data *)id->data; krb5_error_code ret; - ret = krb5_scc_store_ui_2(context, id, keyblock->keytype); + ret = krb5_scc_store_ui_2(context, id, keyblock->enctype); CHECK(ret); if (data->version == KRB5_SCC_FVNO_3) { - ret = krb5_scc_store_ui_2(context, id, keyblock->keytype); + ret = krb5_scc_store_ui_2(context, id, keyblock->enctype); CHECK(ret); } ret = krb5_scc_store_int32(context, id, keyblock->length); -- 2.26.2