]> git.ipfire.org Git - thirdparty/krb5.git/commit
Convert success in krb5_chpw_result_code_string
authorJonathan Reams <jreams@columbia.edu>
Fri, 15 Feb 2013 07:11:57 +0000 (02:11 -0500)
committerGreg Hudson <ghudson@mit.edu>
Fri, 15 Feb 2013 07:13:09 +0000 (02:13 -0500)
commit316bf74b4696058e2b60c95c9d0fc90d6c2c2ffe
tree51f86a76927e6dcffc6f513722652509131f1ce6
parent6dda284554a869f7fa1e6d2a035df06c97f103ef
Convert success in krb5_chpw_result_code_string

Result code 0 used to be converted properly by krb5_set_password,
though not krb5_change_password; this changed in 1.10 when
krb5int_setpw_result_code_string was folded into
krb5_chpw_result_code_string.  Restore the old behavior, and make it
apply to krb5_change_password as well, by making
krb5_chpw_result_code_string convert result code 0.

[ghudson@mit.edu: commit message]

ticket: 7569 (new)
target_version: 1.11.1
tags: pullup
src/lib/krb5/krb/chpw.c