summaryrefslogtreecommitdiffstats
path: root/src/windows
diff options
context:
space:
mode:
authorJeffrey Altman <jaltman@secure-endpoints.com>2007-09-30 14:42:22 +0000
committerJeffrey Altman <jaltman@secure-endpoints.com>2007-09-30 14:42:22 +0000
commit3a9bacfdce9e646a89413f54e26b005d008807d6 (patch)
tree81e79bfd891d8aa31f92337c768e53e47d33a262 /src/windows
parent3d8fe1bfbfc3948977d59c244a721abe4e1954d1 (diff)
downloadkrb5-3a9bacfdce9e646a89413f54e26b005d008807d6.tar.gz
krb5-3a9bacfdce9e646a89413f54e26b005d008807d6.tar.xz
krb5-3a9bacfdce9e646a89413f54e26b005d008807d6.zip
When there is no ImagePath value for a module it indicates
that the module has not been installed. Do not report an error to the end user for uninstalled modules. This will only annoy the user and there is probably nothing the user can do about it. Perhaps the user uninstalled the module intentionally. The fact that there is still a HKCU key remaining is not an indication that the module is in use. ticket: 5753 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20023 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/windows')
-rw-r--r--src/windows/identity/kmm/kmm_registrar.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/windows/identity/kmm/kmm_registrar.c b/src/windows/identity/kmm/kmm_registrar.c
index da7ab570b..75f3b782a 100644
--- a/src/windows/identity/kmm/kmm_registrar.c
+++ b/src/windows/identity/kmm/kmm_registrar.c
@@ -683,7 +683,11 @@ void kmmint_init_module(kmm_module_i * m) {
m->path = PMALLOC(sz);
khc_read_string(csp_mod, KMM_VALNAME_IMAGEPATH, m->path, &sz);
} else {
- _report_mr0(KHERR_ERROR, MSG_IM_NOT_REGISTERED);
+ /*
+ * If there is no image path, then the module has not been
+ * installed. Do not report an error and bother the user.
+ * _report_mr0(KHERR_ERROR, MSG_IM_NOT_REGISTERED);
+ */
m->state = KMM_MODULE_STATE_FAIL_NOT_REGISTERED;
goto _exit;