Home
last modified time | relevance | path

Searched refs:enc_bio (Results 1 – 1 of 1) sorted by relevance

/third_party/openssl/test/
Devp_extra_test2.c462 BIO *in = NULL, *enc_bio = NULL; in test_pkcs8key_nid_bio() local
468 && TEST_ptr(enc_bio = BIO_new(BIO_s_mem())) in test_pkcs8key_nid_bio()
472 && TEST_int_eq(i2d_PKCS8PrivateKey_nid_bio(enc_bio, pkey, nid, in test_pkcs8key_nid_bio()
475 && TEST_int_gt(enc_datalen = BIO_get_mem_data(enc_bio, &enc_data), 0) in test_pkcs8key_nid_bio()
476 && TEST_ptr(pkey_dec = d2i_PKCS8PrivateKey_bio(enc_bio, NULL, NULL, in test_pkcs8key_nid_bio()
483 BIO_free(enc_bio); in test_pkcs8key_nid_bio()