From 52bbe8cdff1a6b7652d7377e694fc14178ed331d Mon Sep 17 00:00:00 2001 From: Greg Hudson Date: Tue, 1 Nov 1994 12:51:30 +0000 Subject: Changes for better authentication. --- lib/ZFmtAuth.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/ZFmtAuth.c') diff --git a/lib/ZFmtAuth.c b/lib/ZFmtAuth.c index fb893f3..cf3dc8f 100644 --- a/lib/ZFmtAuth.c +++ b/lib/ZFmtAuth.c @@ -28,7 +28,7 @@ Code_t ZFormatAuthenticNotice(notice, buffer, buffer_len, len, session) C_Block session; { ZNotice_t newnotice; - char *ptr; + char *ptr int retval, hdrlen; newnotice = *notice; @@ -37,7 +37,7 @@ Code_t ZFormatAuthenticNotice(notice, buffer, buffer_len, len, session) newnotice.z_ascii_authent = ""; if ((retval = Z_FormatRawHeader(&newnotice, buffer, buffer_len, - &hdrlen, &ptr)) != ZERR_NONE) + &hdrlen, &ptr, NULL)) != ZERR_NONE) return (retval); #ifdef NOENCRYPTION @@ -47,7 +47,7 @@ Code_t ZFormatAuthenticNotice(notice, buffer, buffer_len, len, session) (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) + &hdrlen, NULL, NULL)) != ZERR_NONE) return (retval); ptr = buffer+hdrlen; -- cgit v1.2.3