diff options
author | Richard Levitte <levitte@openssl.org> | 2020-09-14 09:31:36 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2020-09-20 17:31:22 +0200 |
commit | 111dc4b0f1e961afd6fc998ef443d9004356c046 (patch) | |
tree | 59712229b3ebf6ea2d967b43b07ad55f2a1bcb08 /providers/defltprov.c | |
parent | ENCODER: Refactor the OSSL_ENCODER API to be more like OSSL_DECODER (diff) | |
download | openssl-111dc4b0f1e961afd6fc998ef443d9004356c046.tar.xz openssl-111dc4b0f1e961afd6fc998ef443d9004356c046.zip |
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/defltprov.c')
-rw-r--r-- | providers/defltprov.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/providers/defltprov.c b/providers/defltprov.c index dfb113903e..8f663affbb 100644 --- a/providers/defltprov.c +++ b/providers/defltprov.c @@ -418,9 +418,9 @@ static const OSSL_ALGORITHM deflt_keymgmt[] = { }; static const OSSL_ALGORITHM deflt_encoder[] = { -#define ENCODER(name, _fips, _format, _type, func_table) \ +#define ENCODER(name, _fips, _output, func_table) \ { name, \ - "provider=default,fips=" _fips ",format=" _format ",type=" _type, \ + "provider=default,fips=" _fips ",output=" _output, \ (func_table) } #include "encoders.inc" |