projects
/
p11-kit
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3b68fc
)
Set the return value properly in p11_kit_load_initialize_module()
author
Stef Walter
<stefw@collabora.co.uk>
Mon, 30 May 2011 11:12:58 +0000
(13:12 +0200)
committer
Stef Walter
<stefw@collabora.co.uk>
Mon, 30 May 2011 11:12:58 +0000
(13:12 +0200)
p11-kit/modules.c
patch
|
blob
|
history
diff --git
a/p11-kit/modules.c
b/p11-kit/modules.c
index e155889713a58f86a6623b20142cd3a00359a95c..e2cecd99d19647a3ba46ecbc715ce919fc77dea4 100644
(file)
--- a/
p11-kit/modules.c
+++ b/
p11-kit/modules.c
@@
-1307,6
+1307,9
@@
p11_kit_load_initialize_module (const char *module_path,
}
}
+ if (rv == CKR_OK && module)
+ *module = mod->funcs;
+
_p11_unlock ();
debug ("out: %lu", rv);