diff options
Diffstat (limited to 'lib/ZFmtAuth.c')
-rw-r--r-- | lib/ZFmtAuth.c | 5 |
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) |