Home
last modified time | relevance | path

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

/third_party/openssl/test/
Devp_extra_test2.c566 BIO *key_bio = NULL; in test_d2i_PrivateKey_ex() local
572 if (!TEST_ptr(key_bio = BIO_new_mem_buf(keydata[id].kder, keydata[id].size))) in test_d2i_PrivateKey_ex()
574 if (!TEST_ptr_null(pkey = PEM_read_bio_PrivateKey(key_bio, NULL, NULL, NULL))) in test_d2i_PrivateKey_ex()
578 if (!TEST_int_ge(BIO_seek(key_bio, 0), 0)) in test_d2i_PrivateKey_ex()
580 ok = TEST_ptr(pkey = d2i_PrivateKey_bio(key_bio, NULL)); in test_d2i_PrivateKey_ex()
586 BIO_free(key_bio); in test_d2i_PrivateKey_ex()
596 BIO *key_bio = NULL; in test_PEM_read_bio_negative() local
599 if (!TEST_ptr(key_bio = BIO_new_mem_buf(keydata[testid].kder, keydata[testid].size))) in test_PEM_read_bio_negative()
602 if (!TEST_ptr_null(pkey = PEM_read_bio_PrivateKey(key_bio, NULL, NULL, NULL))) in test_PEM_read_bio_negative()
608 if (!TEST_int_ge(BIO_seek(key_bio, 0), 0)) in test_PEM_read_bio_negative()
[all …]