aboutsummaryrefslogtreecommitdiffstats
path: root/dirmngr/crlcache.h
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2023-05-01 02:39:24 +0000
committerNIIBE Yutaka <[email protected]>2023-05-01 02:39:24 +0000
commit0fe99d69f0c8c6d882305d03032bbdaaa1f06954 (patch)
tree54d897b5c54d27ccae804aef0d06ef8e4cd8b1cc /dirmngr/crlcache.h
parentcommon: Fix parsing ECC key. (diff)
downloadgnupg-0fe99d69f0c8c6d882305d03032bbdaaa1f06954.tar.gz
gnupg-0fe99d69f0c8c6d882305d03032bbdaaa1f06954.zip
dirmngr: Fix API of functions wrt their error type.
* dirmngr/crlcache.h (fakecrl_isvalid): Fix return type. * dirmngr/http.c (parse_response): Fix return type to gpg_error_t, modifying the function implementation. -- Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'dirmngr/crlcache.h')
-rw-r--r--dirmngr/crlcache.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/dirmngr/crlcache.h b/dirmngr/crlcache.h
index 375943462..9cc063aff 100644
--- a/dirmngr/crlcache.h
+++ b/dirmngr/crlcache.h
@@ -70,9 +70,9 @@ gpg_error_t crl_cache_reload_crl (ctrl_t ctrl, ksba_cert_t cert);
/*-- fakecrl.c --*/
-crl_cache_result_t fakecrl_isvalid (ctrl_t ctrl,
- const char *issuer_hash,
- const char *cert_id);
+gpg_error_t fakecrl_isvalid (ctrl_t ctrl,
+ const char *issuer_hash,
+ const char *cert_id);