diff options
| author | Greg Hudson <ghudson@mit.edu> | 2009-05-07 19:42:57 +0000 |
|---|---|---|
| committer | Greg Hudson <ghudson@mit.edu> | 2009-05-07 19:42:57 +0000 |
| commit | 8eb13e1a4ed504c1db92b363fb19d0b4efad64e6 (patch) | |
| tree | 3ff5bb7c7d3143c599b95fcd5a21c1aeaedb73a6 /src/lib | |
| parent | 8e4e5531c6a9543f601f56e1dfb7360a23af24e9 (diff) | |
| download | krb5-8eb13e1a4ed504c1db92b363fb19d0b4efad64e6.tar.gz krb5-8eb13e1a4ed504c1db92b363fb19d0b4efad64e6.tar.xz krb5-8eb13e1a4ed504c1db92b363fb19d0b4efad64e6.zip | |
After consultation with kenh, remove a comment and if statement which
should no longer apply to the pa_sam_2 code, fixing a memory leak.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22322 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/krb5/krb/preauth2.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/lib/krb5/krb/preauth2.c b/src/lib/krb5/krb/preauth2.c index f72ebf29c..e6f4215d5 100644 --- a/src/lib/krb5/krb/preauth2.c +++ b/src/lib/krb5/krb/preauth2.c @@ -1607,13 +1607,6 @@ krb5_error_code pa_sam_2(krb5_context context, } if (!valid_cksum) { - - /* If KRB5_SAM_SEND_ENCRYPTED_SAD is set, then password is only */ - /* source for checksum key. Therefore, a bad checksum means a */ - /* bad password. Don't give that direct feedback to someone */ - /* trying to brute-force passwords. */ - - if (!(sc2b->sam_flags & KRB5_SAM_SEND_ENCRYPTED_SAD)) krb5_free_sam_challenge_2(context, sc2); krb5_free_sam_challenge_2_body(context, sc2b); /* |
