Lines Matching refs:dest_name
214 char *x509_name, *module_name, *dest_name; in main() local
273 dest_name = argv[4]; in main()
276 ERR(asprintf(&dest_name, "%s.~signed~", module_name) < 0, in main()
355 bd = BIO_new_file(dest_name, "wb"); in main()
356 ERR(!bd, "%s", dest_name); in main()
362 ERR(BIO_write(bd, buf, n) < 0, "%s", dest_name); in main()
370 ERR(i2d_CMS_bio_stream(bd, cms, NULL, 0) < 0, "%s", dest_name); in main()
372 ERR(i2d_PKCS7_bio(bd, pkcs7) < 0, "%s", dest_name); in main()
383 ERR(BIO_write(bd, buf, n) < 0, "%s", dest_name); in main()
389 ERR(BIO_write(bd, &sig_info, sizeof(sig_info)) < 0, "%s", dest_name); in main()
390 ERR(BIO_write(bd, magic_number, sizeof(magic_number) - 1) < 0, "%s", dest_name); in main()
392 ERR(BIO_free(bd) < 0, "%s", dest_name); in main()
396 ERR(rename(dest_name, module_name) < 0, "%s", dest_name); in main()