]> git.ipfire.org Git - thirdparty/krb5.git/commit
Fix OTP KDC module get_string error handling
authorGreg Hudson <ghudson@mit.edu>
Wed, 17 Jul 2013 16:14:13 +0000 (12:14 -0400)
committerGreg Hudson <ghudson@mit.edu>
Wed, 17 Jul 2013 16:14:13 +0000 (12:14 -0400)
commitacb490bd01235511294ecb6b23750e648e48f7dc
treee6f9d2435e0f881132c621add6396119d0ba97dc
parentea29df4d93b1b7b384c15f39a4ee20be3e0991ac
Fix OTP KDC module get_string error handling

If cb->get_string returns 0 with no result in otp_edata, make sure we
set retval to avoid sending an empty OTP hint.  If cb->get_string
returns an error code in otp_verify, avoid masking that code.
src/plugins/preauth/otp/main.c