Home GnuPG
Diffusion GnuPG 0a4ccab3bd0a

kbx: Use wrapper functions for es_fclose and es_fopen.

Description

kbx: Use wrapper functions for es_fclose and es_fopen.

* kbx/keybox-defs.h (KEYBOX_LL_OPEN_READ)
(KEYBOX_LL_OPEN_UPDATE, KEYBOX_LL_OPEN_CREATE): New.
* kbx/keybox-init.c (_keybox_ll_open): New.  Replace all keybox use of
es_fopen by this function.
(_keybox_ll_close): New.  Replace all keybox use of es_fclose by this
function.

Note that this has not been done for the utilities and the backend-kbx
of keyboxd.

Details

Provenance
wernerAuthored on May 5 2023, 11:37 AM
Parents
rG9526d4f7216d: kbx: Add extra flags to fopen for use by Windows.
Branches
Unknown
Tags
Unknown