From 38648ee706043db5f366f6911a876262a7a0c0a0 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Sat, 14 Apr 2001 03:28:52 +0000 Subject: [PATCH] * ad_print.c (ad_print): Pass address of session key to des_cblock_print_file, not the session key. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13180 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb4/ChangeLog | 3 +++ src/lib/krb4/ad_print.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/lib/krb4/ChangeLog b/src/lib/krb4/ChangeLog index d91b33d52..f077456f3 100644 --- a/src/lib/krb4/ChangeLog +++ b/src/lib/krb4/ChangeLog @@ -1,5 +1,8 @@ 2001-04-13 Ken Raeburn + * ad_print.c (ad_print): Pass address of session key to + des_cblock_print_file, not the session key. + * g_tkt_svc.c (CredIsExpired): Don't use a variable named "time". 2001-04-13 Danilo Almeida diff --git a/src/lib/krb4/ad_print.c b/src/lib/krb4/ad_print.c index 0d83fbe2a..56d4e4242 100644 --- a/src/lib/krb4/ad_print.c +++ b/src/lib/krb4/ad_print.c @@ -39,7 +39,7 @@ ad_print(x) #ifdef NOENCRYPTION placebo_cblock_print(x->session); #else /* Do Encryption */ - des_cblock_print_file(x->session,stdout); + des_cblock_print_file(&x->session,stdout); #endif /* NOENCRYPTION */ /* skip reply for now */ } -- 2.26.2