diff options
author | Richard Levitte <levitte@openssl.org> | 2020-11-27 08:03:23 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2020-12-02 13:37:20 +0100 |
commit | b03da688a223c18b5a10b5a66abe229bbb590133 (patch) | |
tree | 9ced964fd56b31be881234f012af7d191f41c5ef /apps | |
parent | cbcbac644c4679e535948e49983d335ae46c578e (diff) |
Adapt everything else to the updated OSSL_ENCODER_CTX_new_by_EVP_PKEY()
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/13545)
Diffstat (limited to 'apps')
-rw-r--r-- | apps/dhparam.c | 2 | ||||
-rw-r--r-- | apps/rsa.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/dhparam.c b/apps/dhparam.c index e2fb38d8c0..58cdfd000d 100644 --- a/apps/dhparam.c +++ b/apps/dhparam.c @@ -325,7 +325,7 @@ int dhparam_main(int argc, char **argv) OSSL_KEYMGMT_SELECT_DOMAIN_PARAMETERS, outformat == FORMAT_ASN1 ? "DER" : "PEM", - NULL, NULL, NULL); + NULL, NULL); if (ectx == NULL || !OSSL_ENCODER_to_bio(ectx, out)) { OSSL_ENCODER_CTX_free(ectx); diff --git a/apps/rsa.c b/apps/rsa.c index da1342b4c0..058c2be2ad 100644 --- a/apps/rsa.c +++ b/apps/rsa.c @@ -323,7 +323,7 @@ int rsa_main(int argc, char **argv) /* Now, perform the encoding */ ectx = OSSL_ENCODER_CTX_new_by_EVP_PKEY(pkey, selection, output_type, output_structure, - NULL, NULL); + NULL); if (OSSL_ENCODER_CTX_get_num_encoders(ectx) == 0) { BIO_printf(bio_err, "%s format not supported\n", output_type); goto end; |