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 /test/endecode_test.c | |
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 'test/endecode_test.c')
-rw-r--r-- | test/endecode_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/endecode_test.c b/test/endecode_test.c index d7edd350a1..f72f9aaac8 100644 --- a/test/endecode_test.c +++ b/test/endecode_test.c @@ -195,7 +195,7 @@ static int encode_EVP_PKEY_prov(void **encoded, long *encoded_len, if (!TEST_ptr(ectx = OSSL_ENCODER_CTX_new_by_EVP_PKEY(pkey, selection, output_type, output_structure, - NULL, NULL)) + NULL)) || !TEST_int_gt(OSSL_ENCODER_CTX_get_num_encoders(ectx), 0) || (pass != NULL && !TEST_true(OSSL_ENCODER_CTX_set_passphrase(ectx, upass, |