summaryrefslogtreecommitdiffstats
path: root/dirmngr/validate.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dirmngr/validate.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/dirmngr/validate.h b/dirmngr/validate.h
index c7082e3..5b23cb4 100644
--- a/dirmngr/validate.h
+++ b/dirmngr/validate.h
@@ -48,6 +48,9 @@
#define VALIDATE_FLAG_NOCRLCHECK 1024
+/* Helper to get the public key algo from a public key. */
+int pk_algo_from_sexp (gcry_sexp_t pkey);
+
/* Validate the certificate CHAIN up to the trust anchor. Optionally
return the closest expiration time in R_EXPTIME. */
gpg_error_t validate_cert_chain (ctrl_t ctrl,