Home
last modified time | relevance | path

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

/freebsd/crypto/openssl/test/
H A Dendecoder_legacy_test.c308 BIO *membio_legacy = NULL; in test_protected_PEM() local
317 if (!TEST_ptr(membio_legacy = BIO_new(BIO_s_mem())) in test_protected_PEM()
326 || !TEST_true(pem_write_bio(membio_legacy, legacy_key, in test_protected_PEM()
328 || !test_membio_str_eq(membio_provided, membio_legacy)) in test_protected_PEM()
342 pem_read_bio(membio_legacy, NULL, NULL, NULL)) in test_protected_PEM()
362 BIO_free(membio_legacy); in test_protected_PEM()
376 BIO *membio_legacy = NULL; in test_unprotected_PEM() local
385 if (!TEST_ptr(membio_legacy = BIO_new(BIO_s_mem())) in test_unprotected_PEM()
394 || !TEST_true(pem_write_bio(membio_legacy, legacy_key)) in test_unprotected_PEM()
395 || !test_membio_str_eq(membio_provided, membio_legacy)) in test_unprotected_PEM()
[all …]