svn commit: lorikeet r704 - in trunk/heimdal/tests/plugin: .

lha at samba.org lha at samba.org
Wed Jan 10 19:40:43 GMT 2007


Author: lha
Date: 2007-01-10 19:40:43 +0000 (Wed, 10 Jan 2007)
New Revision: 704

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

Log:
Update verify function to match prototype with version 2 of the signature

Modified:
   trunk/heimdal/tests/plugin/windc.c


Changeset:
Modified: trunk/heimdal/tests/plugin/windc.c
===================================================================
--- trunk/heimdal/tests/plugin/windc.c	2007-01-10 15:50:15 UTC (rev 703)
+++ trunk/heimdal/tests/plugin/windc.c	2007-01-10 19:40:43 UTC (rev 704)
@@ -40,14 +40,17 @@
 
 static krb5_error_code 
 pac_verify(void *ctx, krb5_context context,
-	   struct hdb_entry_ex *client, krb5_pac pac)
+	   const krb5_principal client_principal,
+	   struct hdb_entry_ex *client, 
+	   struct hdb_entry_ex *server,
+	   krb5_pac *pac)
 {
     krb5_error_code ret;
     krb5_data data;
 
     krb5_warnx(context, "pac_verify");
 
-    ret = krb5_pac_get_buffer(context, pac, 1, &data);
+    ret = krb5_pac_get_buffer(context, *pac, 1, &data);
     if (ret)
 	return ret;
 



More information about the samba-cvs mailing list