TEST_FL_true
&& !TEST_FL_true(OSSL_ENCODER_CTX_set_passphrase(ectx, upass,
&& !TEST_FL_true(OSSL_ENCODER_CTX_set_cipher(ectx, pcipher, NULL)))
|| !TEST_FL_true(OSSL_ENCODER_to_bio(ectx, mem_ser))
|| !TEST_FL_true(BIO_get_mem_ptr(mem_ser, &mem_buf) > 0)
|| !TEST_FL_true(PEM_write_bio_PrivateKey_traditional(mem_ser, pkey,
|| !TEST_FL_true(BIO_get_mem_ptr(mem_ser, &mem_buf) > 0)
if (!TEST_FL_true(BIO_get_mem_ptr(mem_ser, &mem_buf) > 0)
if (!TEST_FL_true(ossl_assert((selection
|| !TEST_FL_true(BIO_get_mem_ptr(mem_ser, &mem_buf) > 0)
if (!(ok = TEST_FL_true(EVP_PKEY_is_a(pkey, type)))) {
ok = ok && TEST_FL_true(evp_pkey_is_provided(pkey));
int ok = (TEST_FL_ptr(pkey) && TEST_FL_true(EVP_PKEY_is_a(pkey, type)));