summaryrefslogtreecommitdiffstats
path: root/providers/fips/fipsprov.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2020-05-18 15:11:06 +0200
committerMatt Caswell <matt@openssl.org>2020-06-19 11:19:31 +0200
commit72bfc9585891cffd29eb683ae5fb3181d62b9d33 (patch)
treed0aa468eff53efd75fe95b5210c2387acf7903ca /providers/fips/fipsprov.c
parentAdd missing section on asymmetric ciphers (diff)
downloadopenssl-72bfc9585891cffd29eb683ae5fb3181d62b9d33.tar.xz
openssl-72bfc9585891cffd29eb683ae5fb3181d62b9d33.zip
Add the concept of "Capabilities" to the default and fips providers
With capabilities we can query a provider about what it can do. Initially we support a "TLS-GROUP" capability. Reviewed-by: Shane Lontis <shane.lontis@oracle.com> (Merged from https://github.com/openssl/openssl/pull/11914)
Diffstat (limited to 'providers/fips/fipsprov.c')
-rw-r--r--providers/fips/fipsprov.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/providers/fips/fipsprov.c b/providers/fips/fipsprov.c
index 0484a54f52..9efb6af1c9 100644
--- a/providers/fips/fipsprov.c
+++ b/providers/fips/fipsprov.c
@@ -566,6 +566,7 @@ static const OSSL_DISPATCH fips_dispatch_table[] = {
{ OSSL_FUNC_PROVIDER_GETTABLE_PARAMS, (void (*)(void))fips_gettable_params },
{ OSSL_FUNC_PROVIDER_GET_PARAMS, (void (*)(void))fips_get_params },
{ OSSL_FUNC_PROVIDER_QUERY_OPERATION, (void (*)(void))fips_query },
+ { OSSL_FUNC_PROVIDER_GET_CAPABILITIES, (void (*)(void))provider_get_capabilities },
{ 0, NULL }
};