removed old code

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1276 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1997-03-08 04:03:27 +00:00
parent aecc37fca7
commit 89c747e774
3 changed files with 0 additions and 75 deletions

View File

@@ -47,34 +47,3 @@ krb5_build_authenticator (krb5_context context,
free (auth);
return ret;
}
#if 0
/*
len = encode_Authenticator(buf + sizeof(buf) - 9,
sizeof(buf) - 8 - 12,
auth);
*/
p = buf + sizeof(buf) - 8 - len;
p -= 12;
len += 12;
len = (len + 7) & ~7;
crc_init_table ();
crc = crc_update(p, len, 0);
#if 0
memcpy(p + 8, &crc, 4);
#endif
p[8] = crc & 0xff;
p[9] = (crc >> 8) & 0xff;
p[10] = (crc >> 16) & 0xff;
p[11] = (crc >> 24) & 0xff;
result->length = len;
result->data = malloc(len);
memcpy(result->data, p, len);
}
#endif