Lines Matching refs:tbio
17 BIO *in = NULL, *out = NULL, *tbio = NULL;
26 tbio = BIO_new_file("signer.pem", "r");
28 if (!tbio)
31 scert = PEM_read_bio_X509(tbio, NULL, 0, NULL);
33 BIO_reset(tbio);
35 skey = PEM_read_bio_PrivateKey(tbio, NULL, 0, NULL);
37 BIO_free(tbio);
39 tbio = BIO_new_file("signer2.pem", "r");
41 if (!tbio)
44 scert2 = PEM_read_bio_X509(tbio, NULL, 0, NULL);
46 BIO_reset(tbio);
48 skey2 = PEM_read_bio_PrivateKey(tbio, NULL, 0, NULL);
94 BIO_free(tbio);