]> granicus.if.org Git - p11-kit/commit
proxy: Refresh slot list on every C_GetSlotList call
authorDaiki Ueno <dueno@redhat.com>
Wed, 15 May 2019 14:17:43 +0000 (16:17 +0200)
committerDaiki Ueno <ueno@gnu.org>
Thu, 16 May 2019 10:58:14 +0000 (12:58 +0200)
commit58cede114664e839b53d923863bff604ce58b1a7
tree002b36467533c87815e3620e5991f8bb57aefc94
parent793cc3b78f17bb5a3c151eba1144b73a5d51be3e
proxy: Refresh slot list on every C_GetSlotList call

Previously, the proxy module calculated the slot list only once at the
C_Initialize() call.  That was causing a usability limitation when the
user attaches HSM after starting an application.

Suggested by David Ward.
p11-kit/Makefile.am
p11-kit/mock-module-ep6.c [new file with mode: 0644]
p11-kit/proxy.c
p11-kit/test-proxy.c