+1999-08-05 Danilo Almeida <dalmeida@mit.edu>
+
+ * init_ctx.c (krb5_init_context): Document why krb5_win_ccdll_load
+ is called way early in code. (It is because we need to have the
+ ccapi stuff loaded before trying to get the OS-specific context
+ initialization where we figure out default cache names and such.)
+
1999-08-05 Danilo Almeida <dalmeida@mit.edu>
* init_ctx.c (get_profile_etype_list): Use profile_release_string
krb5_init_ets(ctx);
#if (defined(_MSDOS) || defined(_WIN32))
+ /*
+ * Load the krbcc32.dll if necessary. We do this here so that
+ * we know to use API: later on during initialization.
+ * The context being NULL is ok.
+ */
+ krb5_win_ccdll_load(ctx);
+
/*
* krb5_vercheck() is defined in win_glue.c, and this is
* where we handle the timebomb and version server checks.
ctx->fcc_default_format = tmp + 0x0500;
ctx->scc_default_format = tmp + 0x0500;
-#if (defined(_MSDOS) || defined(_WIN32))
- krb5_win_ccdll_load(ctx); /* Load the krbcc32.dll if necessary */
-#endif
*context = ctx;
return 0;