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

@@ -52,35 +52,6 @@ decrypt_tkt (krb5_context context,
return ASN1_PARSE_ERROR;
return 0;
}
#if 0
(unsigned char*)buf + 12, len - 12, &dec_rep->part2);
free (buf);
if (i < 0)
return ASN1_PARSE_ERROR;
return 0;
des_set_key (key->contents.data, sched);
buf = malloc (len);
if (buf == NULL)
return ENOMEM;
des_cbc_encrypt ((des_cblock *)dec_rep->part1.enc_part.cipher.data,
(des_cblock *)buf,
len,
sched,
key->contents.data,
DES_DECRYPT);
/* XXX: Check CRC */
i = decode_EncTGSRepPart((unsigned char*)buf + 12, len - 12, &dec_rep->part2);
free (buf);
if (i < 0)
return ASN1_PARSE_ERROR;
return 0;
}
#endif
/*
*