[26472] in CVS-changelog-for-Kerberos-V5

home help back first fref pref prev next nref lref last post

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

daemon@ATHENA.MIT.EDU (ghudson@mit.edu)
Thu Apr 5 10:07:09 2012

Date: Thu, 5 Apr 2012 10:07:05 -0400
From: ghudson@mit.edu
Message-Id: <201204051407.q35E75Q1015155@drugstore.mit.edu>
To: cvs-krb5@mit.edu
Reply-To: krbdev@mit.edu
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: cvs-krb5-bounces@mit.edu

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

Fix trace logging initialization

Reported by stefw@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;
 

_______________________________________________
cvs-krb5 mailing list
cvs-krb5@mit.edu
https://mailman.mit.edu/mailman/listinfo/cvs-krb5

home help back first fref pref prev next nref lref last post