diff options
| author | Greg Hudson <ghudson@mit.edu> | 2012-04-05 14:07:05 +0000 |
|---|---|---|
| committer | Greg Hudson <ghudson@mit.edu> | 2012-04-05 14:07:05 +0000 |
| commit | 578224b2a26b076d40833f9a50edcb5496a19de5 (patch) | |
| tree | 45943d04c908b5fb0b7a29a13726a94ef2713ece /src/lib | |
| parent | db9da51673393125d96f9d83b8d236861ba2fae9 (diff) | |
Fix trace logging initialization
Reported by stefw@gnome.org.
ticket: 7112
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25803 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/krb5/krb/init_ctx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/krb5/krb/init_ctx.c b/src/lib/krb5/krb/init_ctx.c index 784acbea2..fdc9218f8 100644 --- a/src/lib/krb5/krb/init_ctx.c +++ b/src/lib/krb5/krb/init_ctx.c @@ -191,6 +191,7 @@ krb5_init_context_profile(profile_t profile, krb5_flags flags, if ((retval = krb5_os_init_context(ctx, profile, flags)) != 0) goto cleanup; + ctx->trace_callback = NULL; #ifndef DISABLE_TRACING if (!ctx->profile_secure) krb5int_init_trace(ctx); @@ -272,7 +273,6 @@ krb5_init_context_profile(profile_t profile, krb5_flags flags, ctx->prompt_types = 0; ctx->use_conf_ktypes = 0; ctx->udp_pref_limit = -1; - ctx->trace_callback = NULL; *context_out = ctx; return 0; |
