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:
@@ -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);
|
||||
}
|
||||
|
@@ -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");
|
||||
}
|
||||
|
Reference in New Issue
Block a user