svn commit: lorikeet r460 - in trunk/heimdal/lib/krb5: .

lha at samba.org lha at samba.org
Thu Sep 8 11:23:15 GMT 2005


Author: lha
Date: 2005-09-08 11:23:14 +0000 (Thu, 08 Sep 2005)
New Revision: 460

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=lorikeet&rev=460

Log:
(krb5_rd_req_return_keyblock): check return_keyblock before setting it

Modified:
   trunk/heimdal/lib/krb5/rd_req.c


Changeset:
Modified: trunk/heimdal/lib/krb5/rd_req.c
===================================================================
--- trunk/heimdal/lib/krb5/rd_req.c	2005-09-08 10:51:14 UTC (rev 459)
+++ trunk/heimdal/lib/krb5/rd_req.c	2005-09-08 11:23:14 UTC (rev 460)
@@ -567,7 +567,8 @@
     krb5_keyblock *keyblock = NULL;
     krb5_principal service = NULL;
 
-    *return_keyblock = NULL;
+    if (return_keyblock)
+	*return_keyblock = NULL;
 
     if (*auth_context == NULL) {
 	ret = krb5_auth_con_init(context, auth_context);



More information about the samba-cvs mailing list