diff options
author | Greg Hudson <ghudson@mit.edu> | 1994-11-01 12:51:30 +0000 |
---|---|---|
committer | Greg Hudson <ghudson@mit.edu> | 1994-11-01 12:51:30 +0000 |
commit | 52bbe8cdff1a6b7652d7377e694fc14178ed331d (patch) | |
tree | 85b50e8e7af804be357d74f6f909e5e69809feb3 /lib/ZFmtAuth.c | |
parent | 9bad14966361640e95c8b8e4c29990bd59828c2e (diff) |
Changes for better authentication.
Diffstat (limited to 'lib/ZFmtAuth.c')
-rw-r--r-- | lib/ZFmtAuth.c | 6 |
1 files changed, 3 insertions, 3 deletions
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; |