diff options
author | Ken Raeburn <raeburn@mit.edu> | 2011-09-04 23:52:34 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@mit.edu> | 2011-09-04 23:52:34 +0000 |
commit | 4ba58f9b6b7ccb372f09e31ee3d302ffafd50b15 (patch) | |
tree | f0d339ede66f7af9153dd1fe016a46ee3aa5d372 /src/plugins/preauth/securid_sam2/securid2.c | |
parent | 3b5d496d3d63b28ebd2e23242a3422b1fa838e18 (diff) | |
download | krb5-4ba58f9b6b7ccb372f09e31ee3d302ffafd50b15.tar.gz krb5-4ba58f9b6b7ccb372f09e31ee3d302ffafd50b15.tar.xz krb5-4ba58f9b6b7ccb372f09e31ee3d302ffafd50b15.zip |
Reindent per krb5-batch-reindent.el.
Some minor reformatting added in places to avoid exceeding 80 columns.
Used Emacs 22.1 built-in C mode.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25144 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/plugins/preauth/securid_sam2/securid2.c')
-rw-r--r-- | src/plugins/preauth/securid_sam2/securid2.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/plugins/preauth/securid_sam2/securid2.c b/src/plugins/preauth/securid_sam2/securid2.c index be6a32b4a..816946eeb 100644 --- a/src/plugins/preauth/securid_sam2/securid2.c +++ b/src/plugins/preauth/securid_sam2/securid2.c @@ -363,11 +363,11 @@ verify_securid_data_2(krb5_context context, krb5_db_entry *client, if ((sr2->sam_enc_nonce_or_sad.ciphertext.data == NULL) || (sr2->sam_enc_nonce_or_sad.ciphertext.length <= 0)) { - retval = KRB5KDC_ERR_PREAUTH_FAILED; - krb5_set_error_message(context, retval, - "No preauth data supplied in " - "verify_securid_data_2 (%s)", user); - goto cleanup; + retval = KRB5KDC_ERR_PREAUTH_FAILED; + krb5_set_error_message(context, retval, + "No preauth data supplied in " + "verify_securid_data_2 (%s)", user); + goto cleanup; } retval = krb5_dbe_find_enctype(context, client, @@ -463,7 +463,7 @@ verify_securid_data_2(krb5_context context, krb5_db_entry *client, com_err("krb5kdc", retval, "while decrypting SecurID trackID in " "verify_securid_data_2 (%s)", user); - goto cleanup; + goto cleanup; } if (track_id_data.length < sizeof (struct securid_track_data)) { retval = KRB5KDC_ERR_PREAUTH_FAILED; @@ -682,11 +682,11 @@ verify_securid_data_2(krb5_context context, krb5_db_entry *client, retval = securid_encrypt_track_data_2(context, client, &tmp_data, &sc2b.sam_track_id); if (retval) { - com_err("krb5kdc", retval, - "while encrypting SecurID track " - "data for SAM_CHALLENGE_2 (%s)", - securid_user); - goto cleanup; + com_err("krb5kdc", retval, + "while encrypting SecurID track " + "data for SAM_CHALLENGE_2 (%s)", + securid_user); + goto cleanup; } retval = securid_make_sam_challenge_2_and_cksum(context, sc2p, &sc2b, |