summaryrefslogtreecommitdiffstats
path: root/providers/common
diff options
context:
space:
mode:
authorPauli <paul.dale@oracle.com>2020-09-07 11:58:03 +1000
committerPauli <paul.dale@oracle.com>2020-09-12 16:46:20 +1000
commiteab7b4240dc87e27d8b12b5af23d3cf20dd06f55 (patch)
tree6cf21b1522dd15ab0b961d5c4a0250d2bc354b09 /providers/common
parent5e8cd0a4f48f06df2542e7c74dcbb4310bce7c4c (diff)
provider: add an 'is_running' call to all providers.
It can be accessed (read only) via the status parameter. Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/12801)
Diffstat (limited to 'providers/common')
-rw-r--r--providers/common/include/prov/providercommon.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/providers/common/include/prov/providercommon.h b/providers/common/include/prov/providercommon.h
index f39d2e313f..f6d27dabab 100644
--- a/providers/common/include/prov/providercommon.h
+++ b/providers/common/include/prov/providercommon.h
@@ -18,3 +18,5 @@ int cipher_capable_aes_cbc_hmac_sha1(void);
int cipher_capable_aes_cbc_hmac_sha256(void);
OSSL_FUNC_provider_get_capabilities_fn provider_get_capabilities;
+
+int ossl_prov_is_running(void);