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/rd_priv.c | |
parent | 43ce6c50a83b8550ed083a7362fa9528e50d2fc0 (diff) | |
download | krb5-88ebe65e3ecce63cf5bcc86804d9c53ace1efcb0.tar.gz krb5-88ebe65e3ecce63cf5bcc86804d9c53ace1efcb0.tar.xz krb5-88ebe65e3ecce63cf5bcc86804d9c53ace1efcb0.zip |
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/rd_priv.c')
-rw-r--r-- | src/lib/krb5/krb/rd_priv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/krb5/krb/rd_priv.c b/src/lib/krb5/krb/rd_priv.c index 75df2f17eb..9dd975e05f 100644 --- a/src/lib/krb5/krb/rd_priv.c +++ b/src/lib/krb5/krb/rd_priv.c @@ -77,13 +77,13 @@ krb5_rd_priv_basic(context, inbuf, keyblock, local_addr, remote_addr, if ((retval = decode_krb5_priv(inbuf, &privmsg))) return retval; - if (!valid_etype(privmsg->enc_part.etype)) { + if (!valid_enctype(privmsg->enc_part.enctype)) { retval = KRB5_PROG_ETYPE_NOSUPP; goto cleanup_privmsg; } /* put together an eblock for this decryption */ - krb5_use_cstype(context, &eblock, privmsg->enc_part.etype); + krb5_use_enctype(context, &eblock, privmsg->enc_part.enctype); scratch.length = privmsg->enc_part.ciphertext.length; if (!(scratch.data = malloc(scratch.length))) { |