Searched refs:key_bio (Results 1 – 1 of 1) sorted by relevance
/freebsd/crypto/openssl/test/ |
H A D | evp_extra_test2.c | 612 BIO *key_bio = NULL; in test_d2i_PrivateKey_ex() local 618 if (!TEST_ptr(key_bio = BIO_new_mem_buf(keydata[id].kder, keydata[id].size))) in test_d2i_PrivateKey_ex() 620 if (!TEST_ptr_null(pkey = PEM_read_bio_PrivateKey(key_bio, NULL, NULL, NULL))) in test_d2i_PrivateKey_ex() 624 if (!TEST_int_ge(BIO_seek(key_bio, 0), 0)) in test_d2i_PrivateKey_ex() 626 ok = TEST_ptr(pkey = d2i_PrivateKey_bio(key_bio, NULL)); in test_d2i_PrivateKey_ex() 632 BIO_free(key_bio); in test_d2i_PrivateKey_ex() 642 BIO *key_bio = NULL; in test_PEM_read_bio_negative() local 645 if (!TEST_ptr(key_bio = BIO_new_mem_buf(keydata[testid].kder, keydata[testid].size))) in test_PEM_read_bio_negative() 648 if (!TEST_ptr_null(pkey = PEM_read_bio_PrivateKey(key_bio, NULL, NULL, NULL))) in test_PEM_read_bio_negative() 654 if (!TEST_int_ge(BIO_seek(key_bio, 0), 0)) in test_PEM_read_bio_negative() [all …]
|