mirror of
https://github.com/QuasarApp/openssl.git
synced 2025-05-01 20:19:39 +00:00
TEST: Adapt test/endecoder_test.c
Reviewed-by: Shane Lontis <shane.lontis@oracle.com> (Merged from https://github.com/openssl/openssl/pull/13248)
This commit is contained in:
parent
eb2f1b81a3
commit
a5cc661645
@ -235,7 +235,9 @@ static int decode_EVP_PKEY_prov(void **object, void *encoded, long encoded_len,
|
|||||||
|
|
||||||
if (!TEST_ptr(dctx = OSSL_DECODER_CTX_new_by_EVP_PKEY(&testpkey,
|
if (!TEST_ptr(dctx = OSSL_DECODER_CTX_new_by_EVP_PKEY(&testpkey,
|
||||||
testtype,
|
testtype,
|
||||||
|
NULL,
|
||||||
keytype,
|
keytype,
|
||||||
|
selection,
|
||||||
NULL, NULL))
|
NULL, NULL))
|
||||||
|| (pass != NULL
|
|| (pass != NULL
|
||||||
&& !OSSL_DECODER_CTX_set_passphrase(dctx, upass, strlen(pass)))
|
&& !OSSL_DECODER_CTX_set_passphrase(dctx, upass, strlen(pass)))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user