projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ebc7a7f
)
In pa_sam, remove a gratuitous null check for etype which was
author
Greg Hudson
<ghudson@mit.edu>
Mon, 13 Apr 2009 18:43:29 +0000
(18:43 +0000)
committer
Greg Hudson
<ghudson@mit.edu>
Mon, 13 Apr 2009 18:43:29 +0000
(18:43 +0000)
immediately followed by dereferencing etype.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22199
dc483132
-0cff-0310-8789-
dd5450dbe970
src/lib/krb5/krb/preauth2.c
patch
|
blob
|
history
diff --git
a/src/lib/krb5/krb/preauth2.c
b/src/lib/krb5/krb/preauth2.c
index ed4708e1bfffe320378684a8fe40e682731c81eb..3d4329eb6eb8d3e619f1dc506e74db7edeb3e5b0 100644
(file)
--- a/
src/lib/krb5/krb/preauth2.c
+++ b/
src/lib/krb5/krb/preauth2.c
@@
-871,7
+871,7
@@
krb5_error_code pa_sam(krb5_context context,
/* message from the KDC. If it is not set, pick an enctype that we */
/* think the KDC will have for us. */
- if (
etype &&
*etype == 0)
+ if (*etype == 0)
*etype = ENCTYPE_DES_CBC_CRC;
if ((ret = (gak_fct)(context, request->client, *etype, prompter,