+2004-07-07 Ken Raeburn <raeburn@mit.edu>
+
+ * disp_status.c: Include gss_libinit.h.
+ (init_et): Variable deleted.
+ (krb5_gss_display_status): Don't use init_et; instead, call
+ gssint_initialize_library.
+
2004-07-06 Ken Raeburn <raeburn@mit.edu>
* import_name.c [HAVE_GETPWUID_R]: Include stdio.h.
*/
#include "gssapiP_krb5.h"
+#include "gss_libinit.h"
#include "com_err.h"
/* XXXX internationalization!! */
/**/
-static int init_et = 0;
-
-/**/
-
OM_uint32
krb5_gss_display_status(minor_status, status_value, status_type,
mech_type, message_context, status_string)
return(g_display_major_status(minor_status, status_value,
message_context, status_string));
} else if (status_type == GSS_C_MECH_CODE) {
- if (!init_et) {
- initialize_k5g_error_table();
- init_et = 1;
- }
+ (void) gssint_initialize_library();
if (*message_context) {
*minor_status = (OM_uint32) G_BAD_MSG_CTX;