summaryrefslogtreecommitdiff
path: root/lib/ZFmtAuth.c
diff options
context:
space:
mode:
authorGravatar John Kohl <jtkohl@mit.edu>1989-03-24 09:17:52 +0000
committerGravatar John Kohl <jtkohl@mit.edu>1989-03-24 09:17:52 +0000
commit492174951e9a1d1720c16b8debac5c1d42081ddd (patch)
treefeb9c4be54b72850b40f32fdfbf15bed668c23c0 /lib/ZFmtAuth.c
parent6502ff9eeefb703c2f465466301ab6be5d0a5302 (diff)
change quad_cksum to des_quad_cksum
Diffstat (limited to 'lib/ZFmtAuth.c')
-rw-r--r--lib/ZFmtAuth.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/ZFmtAuth.c b/lib/ZFmtAuth.c
index d0bf6c2..37c3c68 100644
--- a/lib/ZFmtAuth.c
+++ b/lib/ZFmtAuth.c
@@ -44,8 +44,9 @@ Code_t ZFormatAuthenticNotice(notice, buffer, buffer_len, len, session)
#ifdef NOENCRYPTION
newnotice.z_checksum = 0;
#else
- newnotice.z_checksum = (ZChecksum_t)quad_cksum(buffer, NULL, ptr - buffer,
- 0, session);
+ newnotice.z_checksum = (ZChecksum_t)des_quad_cksum(buffer, NULL,
+ ptr - buffer, 0,
+ session);
#endif
if ((retval = Z_FormatRawHeader(&newnotice, buffer, buffer_len,
&hdrlen, (char **) 0)) != ZERR_NONE)