diff options
author | Werner Koch <[email protected]> | 2023-05-03 15:39:37 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2023-05-04 12:35:31 +0000 |
commit | 68613a6a9de4020fe921b661b7403b7eb865518d (patch) | |
tree | 67033c3fdeee668b637db1ae9a22b0bf8a72355c /kbx/keybox-search.c | |
parent | dirmngr: Fix API of functions wrt their error type. (diff) | |
download | gnupg-68613a6a9de4020fe921b661b7403b7eb865518d.tar.gz gnupg-68613a6a9de4020fe921b661b7403b7eb865518d.zip |
gpgsm: Cache the non-existence of the policy file.
* sm/certchain.c (check_cert_policy): Add simple static cache.
--
It is quite common that a policy file does not exist. Thus we can
avoid the overhead of trying to open it over and over again just to
assert that it does not exists.
Diffstat (limited to 'kbx/keybox-search.c')
0 files changed, 0 insertions, 0 deletions