Lines Matching refs:opt_cmd

118 static int opt_cmd = -1;  variable
1066 opt_cmd = CMP_IR; in transform_opts()
1068 opt_cmd = CMP_KUR; in transform_opts()
1070 opt_cmd = CMP_CR; in transform_opts()
1072 opt_cmd = CMP_P10CR; in transform_opts()
1074 opt_cmd = CMP_RR; in transform_opts()
1076 opt_cmd = CMP_GENM; in transform_opts()
1669 && opt_cmd != CMP_RR && opt_cmd != CMP_GENM) in setup_request_ctx()
1674 if (opt_cmd == CMP_IR || opt_cmd == CMP_CR || opt_cmd == CMP_KUR) { in setup_request_ctx()
1715 if (opt_issuer != NULL && opt_cmd != CMP_RR) in setup_request_ctx()
1727 if (opt_cmd != CMP_P10CR) { in setup_request_ctx()
1738 if (opt_cmd == CMP_KUR) { in setup_request_ctx()
1749 if (opt_cmd == CMP_RR) { in setup_request_ctx()
1789 if (opt_cmd == CMP_P10CR && opt_csr == NULL) { in setup_request_ctx()
1798 if (opt_cmd == CMP_P10CR || opt_cmd == CMP_RR || opt_cmd == CMP_GENM) { in setup_request_ctx()
1855 if (opt_cmd == CMP_GENM) { in setup_request_ctx()
1936 if (opt_cmd == CMP_GENM) { in setup_request_ctx()
1941 opt_cmd == CMP_KUR ? "certificate to be updated" : in setup_request_ctx()
1942 opt_cmd == CMP_RR ? "certificate to be revoked" : in setup_request_ctx()
2163 if (opt_cmd == CMP_GENM) in setup_client_ctx()
2165 } else if (opt_cmd != CMP_GENM) { in setup_client_ctx()
2176 if (opt_cmd != CMP_GENM || opt_infotype != NID_id_it_rootCaCert) { in setup_client_ctx()
2188 if (opt_cmd != CMP_GENM || opt_infotype != NID_id_it_certReqTemplate) { in setup_client_ctx()
3726 switch (opt_cmd) { in cmp_main()
3774 if (newcert != NULL && (opt_cmd == CMP_IR || opt_cmd == CMP_CR in cmp_main()
3775 || opt_cmd == CMP_KUR || opt_cmd == CMP_P10CR)) { in cmp_main()