projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4e3b98
)
Check to make sure the subkey exists before setting its encryption type
author
Theodore Tso
<tytso@mit.edu>
Thu, 17 Nov 1994 07:00:18 +0000
(07:00 +0000)
committer
Theodore Tso
<tytso@mit.edu>
Thu, 17 Nov 1994 07:00:18 +0000
(07:00 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4666
dc483132
-0cff-0310-8789-
dd5450dbe970
src/lib/krb5/krb/rd_rep.c
patch
|
blob
|
history
diff --git
a/src/lib/krb5/krb/rd_rep.c
b/src/lib/krb5/krb/rd_rep.c
index cea75674a869d468210f2a40dd5ef9516884910d..bbd84809012fe786a962032e1e0295fa86a260bc 100644
(file)
--- a/
src/lib/krb5/krb/rd_rep.c
+++ b/
src/lib/krb5/krb/rd_rep.c
@@
-104,6
+104,7
@@
free(scratch.data);}
/* now decode the decrypted stuff */
retval = decode_krb5_ap_rep_enc_part(&scratch, repl);
clean_scratch();
- (*repl)->subkey->etype = reply->enc_part.etype;
+ if ((*repl)->subkey)
+ (*repl)->subkey->etype = reply->enc_part.etype;
return retval;
}