svn commit: samba r19939 - in branches/SAMBA_3_0/source/libsmb: .

jerry at samba.org jerry at samba.org
Tue Nov 28 21:11:21 GMT 2006


Author: jerry
Date: 2006-11-28 21:11:20 +0000 (Tue, 28 Nov 2006)
New Revision: 19939

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

Log:
,fix compile warning about unused functions when not using heimdal
Modified:
   branches/SAMBA_3_0/source/libsmb/clikrb5.c


Changeset:
Modified: branches/SAMBA_3_0/source/libsmb/clikrb5.c
===================================================================
--- branches/SAMBA_3_0/source/libsmb/clikrb5.c	2006-11-28 21:03:39 UTC (rev 19938)
+++ branches/SAMBA_3_0/source/libsmb/clikrb5.c	2006-11-28 21:11:20 UTC (rev 19939)
@@ -852,6 +852,7 @@
 #endif
 }
 
+#ifdef HAVE_KRB5_DECODE_AP_REQ	/* Heimdal */
 static int get_kvno_from_ap_req(krb5_ap_req *ap_req)
 {
 #ifdef HAVE_TICKET_POINTER_IN_KRB5_AP_REQ /* MIT */
@@ -872,6 +873,7 @@
 	return ap_req->ticket->enc_part.enctype;
 #endif
 }
+#endif	/* HAVE_KRB5_DECODE_AP_REQ */
 
 static krb5_error_code
 get_key_from_keytab(krb5_context context,



More information about the samba-cvs mailing list