Lines Matching defs:bio
621 #define CMP_print(bio, level, prefix, msg, a1, a2, a3) \
623 (BIO_printf(bio, "%s:%s:%d:CMP %s: " msg "\n", \
2024 * write out the given certificate to the output specified by bio.
2028 static int write_cert(BIO *bio, X509 *cert)
2030 if ((opt_certform == FORMAT_PEM && PEM_write_bio_X509(bio, cert))
2031 || (opt_certform == FORMAT_ASN1 && i2d_X509_bio(bio, cert)))
2050 BIO *bio = NULL;
2061 if (destFile == NULL || (bio = BIO_new(BIO_s_file())) == NULL
2062 || !BIO_write_filename(bio, (char *)destFile)) {
2069 if (!write_cert(bio, sk_X509_value(certs, i))) {
2077 BIO_free(bio);