pkcs11: Use callback registration for pkcs11-manager.
authorTobias Brunner <tobias@strongswan.org>
Mon, 31 Oct 2011 16:31:25 +0000 (17:31 +0100)
committerTobias Brunner <tobias@strongswan.org>
Mon, 31 Oct 2011 17:45:37 +0000 (18:45 +0100)
commit23b50b776bba6610649f2a45710055369314a8f6
tree58b6612e5099196633bfb6678dd482db60809ce8
parent10b82be61fb09f6f854d0254d28bb2c8437c8ebc
pkcs11: Use callback registration for pkcs11-manager.

Otherwise a plugin providing X509 decoding capabilities might be unloaded
before the manager which will result in a segmentation fault when
certificates in the manager's credential sets are to be destroyed.
src/libstrongswan/plugins/pkcs11/pkcs11_plugin.c