Fixed typo in call to krb5_copy_keyblock
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1867
dc483132-0cff-0310-8789-
dd5450dbe970
while (word = *argv++) {
if (*word == '-') {
word++;
- while (ch = *word++) {
+ while (word && (ch = *word++)) {
switch(ch){
case 'f':
if (*word)
free(name);
}
his_seq_num = authent->seq_number;
- krb5_copy_keyblock(ticket->enc_part2->session, session_key);
+ krb5_copy_keyblock(ticket->enc_part2->session, &session_key);
krb5_free_ticket(ticket);
krb5_free_authenticator(authent);
}