summaryrefslogtreecommitdiffstats
path: root/src/lib/krb5/krb/encrypt_tk.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/krb5/krb/encrypt_tk.c')
-rw-r--r--src/lib/krb5/krb/encrypt_tk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/krb5/krb/encrypt_tk.c b/src/lib/krb5/krb/encrypt_tk.c
index 6203b78366..cb1fb28b9d 100644
--- a/src/lib/krb5/krb/encrypt_tk.c
+++ b/src/lib/krb5/krb/encrypt_tk.c
@@ -57,7 +57,7 @@ krb5_encrypt_tkt_part(context, srv_key, dec_ticket)
#define cleanup_scratch() { (void) memset(scratch->data, 0, scratch->length); \
krb5_free_data(context, scratch); }
- krb5_use_enctype(kdc_context, &eblock, srv_key->enctype);
+ krb5_use_enctype(context, &eblock, srv_key->enctype);
dec_ticket->enc_part.ciphertext.length =
krb5_encrypt_size(scratch->length, eblock.crypto_entry);