From: John Kohl Date: Wed, 10 Oct 1990 16:48:08 +0000 (+0000) Subject: changes for ciphertext changes X-Git-Tag: krb5-1.0-alpha2~188 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=82f60ceef18ad5c3bf227c983ecf59b1587a09ea;p=krb5.git changes for ciphertext changes git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1223 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/krb/copy_tick.c b/src/lib/krb5/krb/copy_tick.c index af2c130d4..c66d082b7 100644 --- a/src/lib/krb5/krb/copy_tick.c +++ b/src/lib/krb5/krb/copy_tick.c @@ -92,15 +92,15 @@ krb5_ticket **pto; *tempto = *from; if (retval = krb5_copy_principal(from->server, &tempto->server)) return retval; - if (retval = krb5_copy_data(&from->enc_part, &scratch)) { + if (retval = krb5_copy_data(&from->enc_part.ciphertext, &scratch)) { krb5_free_principal(tempto->server); xfree(tempto); return retval; } - tempto->enc_part = *scratch; + tempto->enc_part.ciphertext = *scratch; xfree(scratch); if (retval = krb5_copy_enc_tkt_part(from->enc_part2, &tempto->enc_part2)) { - xfree(tempto->enc_part.data); + xfree(tempto->enc_part.ciphertext.data); krb5_free_principal(tempto->server); xfree(tempto); return retval;