Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: binary MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) From: tlyu@mit.edu Subject: git commit RT-Send-CC: X-RT-Original-Encoding: iso-8859-1 Content-Length: 740 Avoid setting AS key when OTP preauth fails In otp_client_process(), call cb->set_as_key() later in the function after the OTP request has been created. The previous position of this call caused the AS key to be replaced even when later code in the function failed, preventing other preauth mechanisms from retrieving the correct AS key. (cherry picked from commit 0712d0059d72ddeaf1764f8fa173a321e3bc072d) https://github.com/krb5/krb5/commit/75bb0f2c25ea78bef97e95fd6086d8b5c205d224 Author: Nathaniel McCallum Committer: Tom Yu Commit: 75bb0f2c25ea78bef97e95fd6086d8b5c205d224 Branch: krb5-1.14 src/lib/krb5/krb/preauth_otp.c | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-)