Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: binary MIME-Version: 1.0 X-Mailer: MIME-tools 5.507 (Entity 5.507) From: ghudson@mit.edu Subject: git commit RT-Send-CC: X-RT-Original-Encoding: iso-8859-1 Content-Length: 744 Correctly handle fallback in KDC OTP callback In otp_state.c:callback(), avoid invoking the failure callback when we fall back to the next token. Since request_send() consumes the request, don't try to free it. [ghudson@mit.edu: added test case; edited commit message] (cherry picked from commit 09c9b7d6f64767429e90ad11a529e6ffa9538043) https://github.com/krb5/krb5/commit/cf00f0538b6b6e45171739a49424281a1802bb26 Author: Robbie Harwood Committer: Greg Hudson Commit: cf00f0538b6b6e45171739a49424281a1802bb26 Branch: krb5-1.15 src/plugins/preauth/otp/otp_state.c | 1 + src/tests/t_otp.py | 28 +++++++++++++++++++++++++--- 2 files changed, 26 insertions(+), 3 deletions(-)