[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with ipropd-master in heimdal-20040426



On Sat, 8 May 2004, Love wrote:
> Alf Wachsmann <alfw@SLAC.Stanford.EDU> writes:
> > Has anyone else seen this behavior?
>
> It seems I stored the operation on the wrong end of the data-blob when I
> converted the code.

Love,

how is this code different from what was there before?

Thanks,
         Alf.

> Index: ipropd_master.c
> ===================================================================
> RCS file: /afs/pdc.kth.se/src/packages/kth-krb/SourceRepository/heimdal/lib/kadm5/ipropd_master.c,v
> retrieving revision 1.34
> diff -u -u -w -r1.34 ipropd_master.c
> --- ipropd_master.c	23 Nov 2003 06:21:43 -0000	1.34
> +++ ipropd_master.c	8 May 2004 11:25:17 -0000
> @@ -282,7 +282,6 @@
>  	krb5_data_free (&data);
>  	return ENOMEM;
>      }
> -    krb5_storage_seek(sp, data.length - 4, SEEK_SET);
>      krb5_store_int32(sp, ONE_PRINC);
>      krb5_storage_free(sp);

-----------------------------------------------------------------------
  Alf Wachsmann                       | e-mail: alfw@slac.stanford.edu
  SLAC Computing Service              | Phone:  +1-650-926-4802
  2575 Sand Hill Road, M/S 97         | FAX:    +1-650-926-3329
  Menlo Park, CA 94025, USA           | Office: Bldg. 50/323
-----------------------------------------------------------------------
                http://www.slac.stanford.edu/~alfw (PGP)
-----------------------------------------------------------------------