kdm_ser_wrap.c: Argument to quad_cksum is C_Block * - not C_Block.
authorEzra Peisach <epeisach@mit.edu>
Fri, 8 Jun 2001 20:21:16 +0000 (20:21 +0000)
committerEzra Peisach <epeisach@mit.edu>
Fri, 8 Jun 2001 20:21:16 +0000 (20:21 +0000)
(kadm_ser_init): Declare as returning int.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13315 dc483132-0cff-0310-8789-dd5450dbe970

src/kadmin/v4server/ChangeLog
src/kadmin/v4server/kadm_ser_wrap.c

index 7577bc5c01db11b39d9b618cdf55652651b4efa0..d5719da6744a3e3d3f635387a9ab1afcecd2c0cb 100644 (file)
@@ -1,3 +1,8 @@
+2001-06-08  Ezra Peisach  <epeisach@mit.edu>
+
+       * kadm_ser_wrap.c: Argument to quad_cksum is C_Block * - not C_Block.
+       (kadm_ser_init): Declare as returning int.
+
 2001-06-07  Ezra Peisach  <epeisach@mit.edu>
 
        * acl_files.c, admin_server.c, kadm_funcs.c, kadm_ser_wrap.c:
index ce426e4301553ae405585e37ac1181097c6744e2..41d572b9c430cf208a0212c67ff181a71f5fca82 100644 (file)
@@ -39,11 +39,13 @@ kadm_ser_init
 set up the server_parm structure
 */
 #ifdef KADM5
+int
 kadm_ser_init(inter, realm, params)
     int inter;                 /* interactive or from file */
     char realm[];
     kadm5_config_params *params;
 #else
+int
 kadm_ser_init(inter, realm)
     int inter;                 /* interactive or from file */
     char realm[];
@@ -198,7 +200,7 @@ int *dat_len;
 #ifdef NOENCRYPTION
     ncksum = 0;
 #else
-    ncksum = quad_cksum(in_st, (krb5_ui_4 *)0, (long) r_len, 0, ad.session);
+    ncksum = quad_cksum(in_st, (krb5_ui_4 *)0, (long) r_len, 0, &ad.session);
 #endif
     if (ncksum!=ad.checksum) {         /* yow, are we correct yet */
        clr_cli_secrets();