diff options
Diffstat (limited to 'trust')
-rw-r--r-- | trust/module.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/trust/module.c b/trust/module.c index e09113b..24cda87 100644 --- a/trust/module.c +++ b/trust/module.c @@ -1321,7 +1321,8 @@ find_objects_match (CK_ATTRIBUTE *attrs, } value = memdup (oid->pValue, oid->ulValueLen); return_val_if_fail (value != NULL, false); - p11_dict_set (find->extensions, value, value); + if (!p11_dict_set (find->extensions, value, value)) + warn_if_reached (); } } |