diff options
| author | Greg Hudson <ghudson@mit.edu> | 2009-12-28 18:03:31 +0000 |
|---|---|---|
| committer | Greg Hudson <ghudson@mit.edu> | 2009-12-28 18:03:31 +0000 |
| commit | 92516277cb0205a1781b06d204d9d103d599f8a7 (patch) | |
| tree | 0c1fdfa704f8c8e31dba09768d216f0ae7d23607 /src/plugins/preauth/pkinit/pkinit_identity.c | |
| parent | ec49e6e673ab229462ef18aa2986167eaa643643 (diff) | |
| download | krb5-92516277cb0205a1781b06d204d9d103d599f8a7.tar.gz krb5-92516277cb0205a1781b06d204d9d103d599f8a7.tar.xz krb5-92516277cb0205a1781b06d204d9d103d599f8a7.zip | |
Whitespace fixes for new anonymous support
ticket: 6607
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23528 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/plugins/preauth/pkinit/pkinit_identity.c')
| -rw-r--r-- | src/plugins/preauth/pkinit/pkinit_identity.c | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/plugins/preauth/pkinit/pkinit_identity.c b/src/plugins/preauth/pkinit/pkinit_identity.c index aecea2c787..2ba05a470d 100644 --- a/src/plugins/preauth/pkinit/pkinit_identity.c +++ b/src/plugins/preauth/pkinit/pkinit_identity.c @@ -518,15 +518,16 @@ pkinit_identity_initialize(krb5_context context, * in the config file. */ if (idopts->identity != NULL) { - retval = process_option_identity(context, plg_cryptoctx, req_cryptoctx, - idopts, id_cryptoctx, - idopts->identity); + retval = process_option_identity(context, plg_cryptoctx, + req_cryptoctx, idopts, + id_cryptoctx, idopts->identity); } else if (idopts->identity_alt != NULL) { - for (i = 0; retval != 0 && idopts->identity_alt[i] != NULL; i++) + for (i = 0; retval != 0 && idopts->identity_alt[i] != NULL; i++) { retval = process_option_identity(context, plg_cryptoctx, req_cryptoctx, idopts, id_cryptoctx, idopts->identity_alt[i]); + } } else { pkiDebug("%s: no user identity options specified\n", __FUNCTION__); goto errout; @@ -540,8 +541,8 @@ pkinit_identity_initialize(krb5_context context, goto errout; if (do_matching) { - retval = pkinit_cert_matching(context, plg_cryptoctx, req_cryptoctx, - id_cryptoctx, princ); + retval = pkinit_cert_matching(context, plg_cryptoctx, + req_cryptoctx, id_cryptoctx, princ); if (retval) { pkiDebug("%s: No matching certificate found\n", __FUNCTION__); crypto_free_cert_info(context, plg_cryptoctx, req_cryptoctx, @@ -565,7 +566,7 @@ pkinit_identity_initialize(krb5_context context, id_cryptoctx); if (retval) goto errout; - } /*not anonymous principal*/ + } /* Not anonymous principal */ for (i = 0; idopts->anchors != NULL && idopts->anchors[i] != NULL; i++) { retval = process_option_ca_crl(context, plg_cryptoctx, req_cryptoctx, |
