Rename contents to keyvalue.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1896 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
1997-06-10 15:09:40 +00:00
parent 5e012949c9
commit c8fe1ef20f
2 changed files with 3 additions and 3 deletions

View File

@@ -477,7 +477,7 @@ tgs_rep(krb5_context context,
{
krb5_keyblock kb;
kb.keytype = tgt->key.keytype;
kb.contents = tgt->key.keyvalue;
kb.keyvalue = tgt->key.keyvalue;
krb5_encrypt(context, buf + sizeof(buf) - len, len, &kb,
&rep.enc_part.cipher);
}

View File

@@ -15,7 +15,7 @@ int main(int argc, char **argv)
salt.data = NULL;
krb5_get_salt(princ, &salt);
krb5_string_to_key(argv[2], &salt, &key);
for(i = 0; i < key.contents.length; i++)
printf("%02x", ((unsigned char*)key.contents.data)[i]);
for(i = 0; i < key.keyvalue.length; i++)
printf("%02x", ((unsigned char*)key.keyvalue.data)[i]);
printf("\n");
}