Lines Matching refs:outfile
5100 BIO * infile = NULL, * outfile = NULL; in PHP_FUNCTION() local
5125 outfile = php_openssl_bio_new_file(outfilename, outfilename_len, 2, PHP_OPENSSL_BIO_MODE_W(flags)); in PHP_FUNCTION()
5126 if (outfile == NULL) { in PHP_FUNCTION()
5199 BIO_printf(outfile, "%s: %s\n", ZSTR_VAL(strindex), ZSTR_VAL(str)); in PHP_FUNCTION()
5201 BIO_printf(outfile, "%s\n", ZSTR_VAL(str)); in PHP_FUNCTION()
5210 if (!SMIME_write_PKCS7(outfile, p7, infile, (int)flags)) { in PHP_FUNCTION()
5220 BIO_free(outfile); in PHP_FUNCTION()
5339 BIO * infile = NULL, * outfile = NULL; in PHP_FUNCTION() local
5390 …outfile = php_openssl_bio_new_file(outfilename, outfilename_len, 2, PHP_OPENSSL_BIO_MODE_W(PKCS7_B… in PHP_FUNCTION()
5391 if (outfile == NULL) { in PHP_FUNCTION()
5415 ret = BIO_printf(outfile, "%s: %s\n", ZSTR_VAL(strindex), ZSTR_VAL(str)); in PHP_FUNCTION()
5417 ret = BIO_printf(outfile, "%s\n", ZSTR_VAL(str)); in PHP_FUNCTION()
5426 if (!SMIME_write_PKCS7(outfile, p7, infile, (int)flags)) { in PHP_FUNCTION()
5436 BIO_free(outfile); in PHP_FUNCTION()
5695 BIO * infile = NULL, * outfile = NULL; in PHP_FUNCTION() local
5724 outfile = php_openssl_bio_new_file( in PHP_FUNCTION()
5726 if (outfile == NULL) { in PHP_FUNCTION()
5801 BIO_printf(outfile, "%s: %s\n", ZSTR_VAL(strindex), ZSTR_VAL(str)); in PHP_FUNCTION()
5803 BIO_printf(outfile, "%s\n", ZSTR_VAL(str)); in PHP_FUNCTION()
5813 if (!SMIME_write_CMS(outfile, cms, infile, (int)flags)) { in PHP_FUNCTION()
5825 if (i2d_CMS_bio(outfile, cms) != 1) { in PHP_FUNCTION()
5838 if (PEM_write_bio_CMS_stream(outfile, cms, infile, flags) == 0) { in PHP_FUNCTION()
5843 if (PEM_write_bio_CMS(outfile, cms) == 0) { in PHP_FUNCTION()
5861 BIO_free(outfile); in PHP_FUNCTION()
5979 BIO * infile = NULL, * outfile = NULL; in PHP_FUNCTION() local
6050 outfile = php_openssl_bio_new_file( in PHP_FUNCTION()
6052 if (outfile == NULL) { in PHP_FUNCTION()
6078 ret = BIO_printf(outfile, "%s: %s\n", ZSTR_VAL(strindex), ZSTR_VAL(str)); in PHP_FUNCTION()
6080 ret = BIO_printf(outfile, "%s\n", ZSTR_VAL(str)); in PHP_FUNCTION()
6091 if (!SMIME_write_CMS(outfile, cms, infile, (int)flags)) { in PHP_FUNCTION()
6103 if (i2d_CMS_bio(outfile, cms) != 1) { in PHP_FUNCTION()
6116 if (PEM_write_bio_CMS_stream(outfile, cms, infile, flags) == 0) { in PHP_FUNCTION()
6121 if (PEM_write_bio_CMS(outfile, cms) == 0) { in PHP_FUNCTION()
6138 BIO_free(outfile); in PHP_FUNCTION()