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/evp_libctx_test.c | |
parent | cbcbac644c4679e535948e49983d335ae46c578e (diff) | |
download | openssl-new-b03da688a223c18b5a10b5a66abe229bbb590133.tar.gz |
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/evp_libctx_test.c')
-rw-r--r-- | test/evp_libctx_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/evp_libctx_test.c b/test/evp_libctx_test.c index a1540dd4b9..cf39bf0871 100644 --- a/test/evp_libctx_test.c +++ b/test/evp_libctx_test.c @@ -461,7 +461,7 @@ static int rsa_keygen(int bits, EVP_PKEY **pub, EVP_PKEY **priv) OSSL_ENCODER_CTX_new_by_EVP_PKEY(*priv, EVP_PKEY_PUBLIC_KEY, "DER", "type-specific", - libctx, NULL)) + NULL)) || !TEST_true(OSSL_ENCODER_to_data(ectx, &pub_der, &len))) goto err; pp = pub_der; |