+Thu Jul 17 12:25:41 1997 Ezra Peisach <epeisach@mit.edu>
+
+ * dump.c (process_k5beta_record): Change variables from char to
+ krb5_octet to match types in krb5_key_data.
+
+ * ovload.c (process_ov_principal): Change "more" variable to
+ krb5_boolean as argument to krb5_db_get_principal.
+
Wed Mar 12 01:19:51 1997 Theodore Y. Ts'o <tytso@mit.edu>
* loadv4.c (argv): Check to see if the global_param's stash file
/* this really does look like an old key, so drop and swap */
/* the *new* length is 2 bytes, LSB first, sigh. */
size_t shortlen = pkey->key_data_length[0]-4+2;
- char *shortcopy = (krb5_octet *) malloc(shortlen);
- char *origdata = pkey->key_data_contents[0];
+ krb5_octet *shortcopy = (krb5_octet *) malloc(shortlen);
+ krb5_octet *origdata = pkey->key_data_contents[0];
shortcopy[0] = origdata[3];
shortcopy[1] = origdata[2];
memcpy(shortcopy+2,origdata+4,shortlen-2);
/* this really does look like an old key, so drop and swap */
/* the *new* length is 2 bytes, LSB first, sigh. */
size_t shortlen = akey->key_data_length[0]-4+2;
- char *shortcopy = (krb5_octet *) malloc(shortlen);
- char *origdata = akey->key_data_contents[0];
+ krb5_octet *shortcopy = (krb5_octet *) malloc(shortlen);
+ krb5_octet *origdata = akey->key_data_contents[0];
shortcopy[0] = origdata[3];
shortcopy[1] = origdata[2];
memcpy(shortcopy+2,origdata+4,shortlen-2);
krb5_db_entry kdb;
char *current;
char *cp;
- int tmp, x, i, one, more;
+ int tmp, x, i, one;
+ krb5_boolean more;
char line[LINESIZE];
if (fgets(line, LINESIZE, filep) == (char *) NULL) {
tl_data.tl_data_type = KRB5_TL_KADM_DATA;
tl_data.tl_data_length = xdr_getpos(&xdrs);
- tl_data.tl_data_contents = xdralloc_getdata(&xdrs);
+ tl_data.tl_data_contents = (krb5_octet *) xdralloc_getdata(&xdrs);
one = 1;
ret = krb5_db_get_principal(kcontext, princ, &kdb, &one,