From: Sam Hartman Date: Sun, 27 Apr 2003 21:07:21 +0000 (+0000) Subject: krb5_setpw_result_string should be internal X-Git-Tag: krb5-1.4-beta1~996 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=90931d2fd7c21919a3f82a31ac6afd208c74ca30;p=krb5.git krb5_setpw_result_string should be internal Make krb5_setpw_result_string a krb5int_ function prototyped in k5-int.h. The prototype was already there, but the code did not match the function name. This needs to be pulled up to the release branch to fix Windows build because of a KRB5_CALLCONV issue. ticket: new Tags: pullup Target_Version: 1.3 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15375 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/krb/ChangeLog b/src/lib/krb5/krb/ChangeLog index a560a9640..6d60e232a 100644 --- a/src/lib/krb5/krb/ChangeLog +++ b/src/lib/krb5/krb/ChangeLog @@ -1,3 +1,7 @@ +2003-04-27 Sam Hartman + + * chpw.c (krb5int_setpw_result_code_string): Make internal + 2003-04-25 Sam Hartman * chpw.c (krb5int_rd_setpw_rep): Fix error handling; allow diff --git a/src/lib/krb5/krb/chpw.c b/src/lib/krb5/krb/chpw.c index 9c5a4078a..248c4c88c 100644 --- a/src/lib/krb5/krb/chpw.c +++ b/src/lib/krb5/krb/chpw.c @@ -462,8 +462,8 @@ krb5int_rd_setpw_rep( krb5_context context, krb5_auth_context auth_context, krb5 return(ret); } -krb5_error_code KRB5_CALLCONV -krb5_setpw_result_code_string( krb5_context context, int result_code, const char **code_string ) +krb5_error_code +krb5int_setpw_result_code_string( krb5_context context, int result_code, const char **code_string ) { switch (result_code) { diff --git a/src/lib/krb5/os/ChangeLog b/src/lib/krb5/os/ChangeLog index 112629b1c..2647d22f2 100644 --- a/src/lib/krb5/os/ChangeLog +++ b/src/lib/krb5/os/ChangeLog @@ -1,3 +1,8 @@ +2003-04-27 Sam Hartman + + * changepw.c (krb5_change_set_password): Call + krb5_setpw_result_code_string not krb5_setpw_result_code_string + 2003-04-24 Sam Hartman * changepw.c (krb5_change_set_password): return error from diff --git a/src/lib/krb5/os/changepw.c b/src/lib/krb5/os/changepw.c index a4f5422f3..041484821 100644 --- a/src/lib/krb5/os/changepw.c +++ b/src/lib/krb5/os/changepw.c @@ -314,7 +314,7 @@ krb5_change_set_password( if (result_code_string) { if( set_password_for ) - code = krb5_setpw_result_code_string(context, local_result_code, (const char **)&code_string); + code = krb5int_setpw_result_code_string(context, local_result_code, (const char **)&code_string); else code = krb5_chpw_result_code_string(context, local_result_code, &code_string); if(code)