svn rev #25803: trunk/src/lib/krb5/krb/

ghudson@MIT.EDU ghudson at MIT.EDU
Thu Apr 5 10:07:05 EDT 2012


http://src.mit.edu/fisheye/changelog/krb5/?cs=25803
Commit By: ghudson
Log Message:
ticket: 7112

Fix trace logging initialization

Reported by stefw at gnome.org.


Changed Files:
U   trunk/src/lib/krb5/krb/init_ctx.c
Modified: trunk/src/lib/krb5/krb/init_ctx.c
===================================================================
--- trunk/src/lib/krb5/krb/init_ctx.c	2012-04-05 13:57:37 UTC (rev 25802)
+++ trunk/src/lib/krb5/krb/init_ctx.c	2012-04-05 14:07:05 UTC (rev 25803)
@@ -191,6 +191,7 @@
     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 @@
     ctx->prompt_types = 0;
     ctx->use_conf_ktypes = 0;
     ctx->udp_pref_limit = -1;
-    ctx->trace_callback = NULL;
     *context_out = ctx;
     return 0;
 



More information about the cvs-krb5 mailing list