Lines Matching refs:tbio
8 BIO *in = NULL, *out = NULL, *tbio = NULL;
17 tbio = BIO_new_file("signer.pem", "r");
19 if (!tbio)
22 scert = PEM_read_bio_X509(tbio, NULL, 0, NULL);
24 BIO_reset(tbio);
26 skey = PEM_read_bio_PrivateKey(tbio, NULL, 0, NULL);
28 BIO_free(tbio);
30 tbio = BIO_new_file("signer2.pem", "r");
32 if (!tbio)
35 scert2 = PEM_read_bio_X509(tbio, NULL, 0, NULL);
37 BIO_reset(tbio);
39 skey2 = PEM_read_bio_PrivateKey(tbio, NULL, 0, NULL);
98 if (tbio)
99 BIO_free(tbio);