diff options
author | Kevin Coffman <kwc@citi.umich.edu> | 2007-05-23 23:09:08 +0000 |
---|---|---|
committer | Kevin Coffman <kwc@citi.umich.edu> | 2007-05-23 23:09:08 +0000 |
commit | 3a83f98e3694c0c5de1969dcebcd6041e6b87472 (patch) | |
tree | 2de60f849bffd04e8e0452ceefa54356d32a51f2 | |
parent | 677cfe9e025d9c95a9a2187ccd1eba494724ea08 (diff) | |
download | krb5-3a83f98e3694c0c5de1969dcebcd6041e6b87472.zip krb5-3a83f98e3694c0c5de1969dcebcd6041e6b87472.tar.gz krb5-3a83f98e3694c0c5de1969dcebcd6041e6b87472.tar.bz2 |
Fix enctype checking. (Look at more than the first one.)
git-svn-id: svn://anonsvn.mit.edu/krb5/users/coffman/pkinit@19560 dc483132-0cff-0310-8789-dd5450dbe970
-rw-r--r-- | src/plugins/preauth/pkinit/pkinit_srv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/preauth/pkinit/pkinit_srv.c b/src/plugins/preauth/pkinit/pkinit_srv.c index 2ac2fdd..b36697c 100644 --- a/src/plugins/preauth/pkinit/pkinit_srv.c +++ b/src/plugins/preauth/pkinit/pkinit_srv.c @@ -683,7 +683,7 @@ pkinit_server_return_padata(krb5_context context, } for(i = 0; i < request->nktypes; i++) { - enctype = request->ktype[0]; + enctype = request->ktype[i]; if (!krb5_c_valid_enctype(enctype)) continue; else { |