aboutsummaryrefslogtreecommitdiff
path: root/mkm.c
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2016-11-19 21:16:52 -0500
committerRob Austein <sra@hactrn.net>2016-11-19 21:16:52 -0500
commit306c1dec5eb20da03bc9569aab83ae97a2ca9e7a (patch)
treed9786e97899f2b04e34b2040537cbbde34d1db7d /mkm.c
parentecbc49a97941b208fb162e4a6d10ca7277dc9359 (diff)
Support queries for attribute length and presence.
Calling hal_rpc_pkey_get_attributes() with attribute_buffer_len = 0 now changes the return behavior so that it reports the lengths of attributes listed in the query, with a length of zero for attributes not present at all. This is mostly to support C_GetAttributeValue() in PKCS #11, but we also use it to make the Python interface a bit kinder to the user.
Diffstat (limited to 'mkm.c')
0 files changed, 0 insertions, 0 deletions