mirror of
https://github.com/QuasarApp/openssl.git
synced 2025-04-30 19:54: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,
|
||||
testtype,
|
||||
NULL,
|
||||
keytype,
|
||||
selection,
|
||||
NULL, NULL))
|
||||
|| (pass != NULL
|
||||
&& !OSSL_DECODER_CTX_set_passphrase(dctx, upass, strlen(pass)))
|
||||
|
Loading…
x
Reference in New Issue
Block a user