diff options
author | Ezra Peisach <epeisach@mit.edu> | 1995-09-12 16:43:27 +0000 |
---|---|---|
committer | Ezra Peisach <epeisach@mit.edu> | 1995-09-12 16:43:27 +0000 |
commit | 88ebe65e3ecce63cf5bcc86804d9c53ace1efcb0 (patch) | |
tree | 22fbd2670986bdd23c988858f9baa0af2fe25515 /src/lib/krb5/krb/ser_actx.c | |
parent | 43ce6c50a83b8550ed083a7362fa9528e50d2fc0 (diff) | |
download | krb5-88ebe65e3ecce63cf5bcc86804d9c53ace1efcb0.zip krb5-88ebe65e3ecce63cf5bcc86804d9c53ace1efcb0.tar.gz krb5-88ebe65e3ecce63cf5bcc86804d9c53ace1efcb0.tar.bz2 |
Reintegrate Macintosh changes
t_ser.c: Work around an optimizer bug in gcc under OSF/1 2.1.
The timeofday calls were left in the stage as described in the ChangeLog
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6766 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/krb5/krb/ser_actx.c')
-rw-r--r-- | src/lib/krb5/krb/ser_actx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/krb5/krb/ser_actx.c b/src/lib/krb5/krb/ser_actx.c index 0b0cdd4..ed15d12 100644 --- a/src/lib/krb5/krb/ser_actx.c +++ b/src/lib/krb5/krb/ser_actx.c @@ -100,7 +100,7 @@ krb5_auth_context_size(kcontext, arg, sizep) /* Calculate size required by i_vector - ptooey */ if (auth_context->i_vector && auth_context->keyblock) required += (size_t) - krb5_keytype_array[auth_context->keyblock->keytype]-> + krb5_enctype_array[auth_context->keyblock->enctype]-> system->block_length; /* Calculate size required by remote_addr, if appropriate */ @@ -225,7 +225,7 @@ krb5_auth_context_externalize(kcontext, arg, buffer, lenremain) /* Now figure out the number of bytes for i_vector and write it */ obuf = (!auth_context->i_vector) ? 0 : (krb5_int32) - krb5_keytype_array[auth_context->keyblock->keytype]-> + krb5_enctype_array[auth_context->keyblock->enctype]-> system->block_length; (void) krb5_ser_pack_int32(obuf, &bp, &remain); |