c4923edfdd
- update to version 1.9.1 * obsolete patches: MITKRB5-SA-2010-007-1.8.dif krb5-1.8-MITKRB5-SA-2010-006.dif krb5-1.8-MITKRB5-SA-2011-001.dif krb5-1.8-MITKRB5-SA-2011-002.dif krb5-1.8-MITKRB5-SA-2011-003.dif krb5-1.8-MITKRB5-SA-2011-004.dif krb5-1.4.3-enospc.dif * replace krb5-1.6.1-compile_pie.dif OBS-URL: https://build.opensuse.org/package/show/network/krb5?expand=0&rev=45
25 lines
888 B
Diff
25 lines
888 B
Diff
Don't suppress the error code from an error message when the error message
|
|
contains e-data. RT#6893
|
|
Index: src/lib/krb5/krb/chpw.c
|
|
===================================================================
|
|
--- src/lib/krb5/krb/chpw.c (revision 24838)
|
|
+++ src/lib/krb5/krb/chpw.c (working copy)
|
|
@@ -111,15 +111,11 @@
|
|
if ((ret = krb5_rd_error(context, packet, &krberror)))
|
|
return(ret);
|
|
|
|
- if (krberror->e_data.data == NULL)
|
|
- ret = ERROR_TABLE_BASE_krb5 + (krb5_error_code) krberror->error;
|
|
- else
|
|
- ret = KRB5KRB_AP_ERR_MODIFIED;
|
|
+ ret = ERROR_TABLE_BASE_krb5 + (krb5_error_code) krberror->error;
|
|
krb5_free_error(context, krberror);
|
|
return(ret);
|
|
- } else {
|
|
- return(KRB5KRB_AP_ERR_MODIFIED);
|
|
}
|
|
+ return(KRB5KRB_AP_ERR_MODIFIED);
|
|
}
|
|
|
|
|