summaryrefslogtreecommitdiff
path: root/lib/ZMkAuth.c
diff options
context:
space:
mode:
authorGravatar Greg Hudson <ghudson@mit.edu>1994-11-01 15:51:57 +0000
committerGravatar Greg Hudson <ghudson@mit.edu>1994-11-01 15:51:57 +0000
commit1a2be7a2eae19938909305ed64abf8454e9d42c2 (patch)
tree63f4a5d316119aab0531078ac1eb55b7dec531cb /lib/ZMkAuth.c
parent52bbe8cdff1a6b7652d7377e694fc14178ed331d (diff)
Fix a few typos.
Diffstat (limited to 'lib/ZMkAuth.c')
-rw-r--r--lib/ZMkAuth.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/ZMkAuth.c b/lib/ZMkAuth.c
index a11b87b..c6ecfdb 100644
--- a/lib/ZMkAuth.c
+++ b/lib/ZMkAuth.c
@@ -85,12 +85,12 @@ Code_t ZMakeAuthentication(notice, buffer, buffer_len, len)
checksum = des_quad_cksum(buffer, NULL, cstart - buffer, 0, cred.session);
checksum ^= des_quad_cksum(cend, NULL, buffer + *len - cend, 0,
cred.session);
- checksum ^= des_quad_cksum(notice->z_message, NULL, notice->message_len, 0,
- cred.session);
+ checksum ^= des_quad_cksum(notice->z_message, NULL, notice->z_message_len,
+ 0, cred.session);
notice->z_checksum = (ZChecksum_t) checksum;
checksum = htonl(checksum);
- ZMakeAscii(cptr, buffer + buffer_len - cptr, (unsigned char *) &checksum,
- sizeof(checksum));
+ ZMakeAscii(cstart, buffer + buffer_len - cstart,
+ (unsigned char *) &checksum, sizeof(checksum));
return (ZERR_NONE);
#else