Lines Matching defs:subj
133 static int build_subject(X509_REQ *req, char *subj, unsigned long chtype,
194 char *subj = NULL;
341 else if (strcmp(*argv, "-subj") == 0) {
344 subj = *(++argv);
420 " -subj arg set or modify request subject\n");
771 i = make_REQ(req, pkey, subj, multirdn, !x509, chtype);
772 subj = NULL; /* done processing '-subj' option */
857 if (subj && x509) {
862 if (subj && !x509) {
869 if (build_subject(req, subj, chtype, multirdn) == 0) {
1051 static int make_REQ(X509_REQ *req, EVP_PKEY *pkey, char *subj, int multirdn,
1096 if (subj)
1097 i = build_subject(req, subj, chtype, multirdn);
1146 X509_NAME *subj;
1147 subj = X509_REQ_get_subject_name(req);
1225 if (!add_DN_object(subj, v->value, def, value, nid,
1229 if (X509_NAME_entry_count(subj) == 0) {
1309 X509_NAME *subj;
1311 subj = X509_REQ_get_subject_name(req);
1343 if (!X509_NAME_add_entry_by_txt(subj, type, chtype,
1350 if (!X509_NAME_entry_count(subj)) {