Lines Matching refs:signerfile
26 static int save_certs(char *signerfile, STACK_OF(X509) *signers);
207 char *passinarg = NULL, *passin = NULL, *signerfile = NULL, *recipfile = NULL; in cms_main() local
474 if (signerfile != NULL) { in cms_main()
478 sk_OPENSSL_STRING_push(sksigners, signerfile); in cms_main()
480 keyfile = signerfile; in cms_main()
487 signerfile = opt_arg(); in cms_main()
492 if (signerfile == NULL) { in cms_main()
499 sk_OPENSSL_STRING_push(sksigners, signerfile); in cms_main()
500 signerfile = NULL; in cms_main()
536 if (keyfile != NULL || signerfile != NULL) in cms_main()
605 if (keyfile != NULL && signerfile == NULL) { in cms_main()
610 if (signerfile != NULL) { in cms_main()
614 sk_OPENSSL_STRING_push(sksigners, signerfile); in cms_main()
618 keyfile = signerfile; in cms_main()
625 signerfile = NULL; in cms_main()
708 if ((signer = load_cert(signerfile, FORMAT_PEM, in cms_main()
720 keyfile = signerfile; in cms_main()
924 signerfile = sk_OPENSSL_STRING_value(sksigners, i); in cms_main()
927 signer = load_cert(signerfile, FORMAT_PEM, "signer certificate"); in cms_main()
1029 if (signerfile != NULL) { in cms_main()
1032 if (!save_certs(signerfile, signers)) { in cms_main()
1034 "Error writing signers to %s\n", signerfile); in cms_main()
1117 static int save_certs(char *signerfile, STACK_OF(X509) *signers) in save_certs() argument
1121 if (signerfile == NULL) in save_certs()
1123 tmp = BIO_new_file(signerfile, "w"); in save_certs()