projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82d1e2d
)
Properly search for MANDATORY-FOR-KDC authdata elements. Reported by
author
Greg Hudson
<ghudson@mit.edu>
Thu, 2 Sep 2010 15:35:25 +0000
(15:35 +0000)
committer
Greg Hudson
<ghudson@mit.edu>
Thu, 2 Sep 2010 15:35:25 +0000
(15:35 +0000)
Mike Roszkowski.
ticket: 6764
tags: pullup
target_version: 1.8.4
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24286
dc483132
-0cff-0310-8789-
dd5450dbe970
src/kdc/kdc_authdata.c
patch
|
blob
|
history
diff --git
a/src/kdc/kdc_authdata.c
b/src/kdc/kdc_authdata.c
index f46fa15fcda6fa5e75f670b76b635f88da4e7f45..fa6a72e392173a0f08792cd93be5bfc1fee09b36 100644
(file)
--- a/
src/kdc/kdc_authdata.c
+++ b/
src/kdc/kdc_authdata.c
@@
-472,7
+472,7
@@
has_mandatory_for_kdc_authdata (krb5_context context,
if (authdata != NULL) {
for (i = 0; authdata[i] != NULL; i++) {
- if (authdata[
0
]->ad_type == KRB5_AUTHDATA_MANDATORY_FOR_KDC) {
+ if (authdata[
i
]->ad_type == KRB5_AUTHDATA_MANDATORY_FOR_KDC) {
ret = TRUE;
break;
}