summaryrefslogtreecommitdiffstats
path: root/providers/baseprov.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2020-09-14 09:31:36 +0200
committerRichard Levitte <levitte@openssl.org>2020-09-20 17:31:22 +0200
commit111dc4b0f1e961afd6fc998ef443d9004356c046 (patch)
tree59712229b3ebf6ea2d967b43b07ad55f2a1bcb08 /providers/baseprov.c
parentb8975c68b1a7796993759db22905d0ef05f7e077 (diff)
ENCODER: Refactor our provider encoder implementations
This only refactors them for the changed API, there's not yet a separate DER to PEM encoder and therefore no chaining possibility yet. Reviewed-by: Shane Lontis <shane.lontis@oracle.com> (Merged from https://github.com/openssl/openssl/pull/12873)
Diffstat (limited to 'providers/baseprov.c')
-rw-r--r--providers/baseprov.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/providers/baseprov.c b/providers/baseprov.c
index 0904e46333..aeb81e27e3 100644
--- a/providers/baseprov.c
+++ b/providers/baseprov.c
@@ -69,9 +69,9 @@ static int base_get_params(void *provctx, OSSL_PARAM params[])
}
static const OSSL_ALGORITHM base_encoder[] = {
-#define ENCODER(name, _fips, _format, _type, func_table) \
+#define ENCODER(name, _fips, _output, func_table) \
{ name, \
- "provider=base,fips=" _fips ",format=" _format ",type=" _type, \
+ "provider=base,fips=" _fips ",output=" _output, \
(func_table) }
#include "encoders.inc"