Lines Matching defs:subj
52 static int build_subject(X509_REQ *req, const char *subj, unsigned long chtype,
130 {"subj", OPT_SUBJ, 's', "Set or modify request subject"},
234 char *req_exts = NULL, *subj = NULL;
387 subj = opt_arg();
715 i = make_REQ(req, pkey, subj, multirdn, !x509, chtype);
716 subj = NULL; /* done processing '-subj' option */
819 if (subj && x509) {
824 if (subj && !x509) {
831 if (build_subject(req, subj, chtype, multirdn) == 0) {
989 static int make_REQ(X509_REQ *req, EVP_PKEY *pkey, char *subj, int multirdn,
1031 if (subj)
1032 i = build_subject(req, subj, chtype, multirdn);
1082 X509_NAME *subj;
1083 subj = X509_REQ_get_subject_name(req);
1163 if (!add_DN_object(subj, v->value, def, value, nid,
1167 if (X509_NAME_entry_count(subj) == 0) {
1247 X509_NAME *subj;
1249 subj = X509_REQ_get_subject_name(req);
1284 if (!X509_NAME_add_entry_by_txt(subj, type, chtype,
1291 if (!X509_NAME_entry_count(subj)) {