Lines Matching full:subj
130 static int build_subject(X509_REQ *req, char *subj, unsigned long chtype,
194 char *subj = NULL;
451 else if (strcmp(*argv,"-subj") == 0)
454 subj= *(++argv);
528 BIO_printf(bio_err," -subj arg set or modify request subject\n");
914 i=make_REQ(req,pkey,subj,multirdn,!x509, chtype);
915 subj=NULL; /* done processing '-subj' option */
995 if (subj && x509)
1001 if (subj && !x509)
1009 if (build_subject(req, subj, chtype, multirdn) == 0)
1200 static int make_REQ(X509_REQ *req, EVP_PKEY *pkey, char *subj, int multirdn,
1250 if (subj)
1251 i = build_subject(req, subj, chtype, multirdn);
1298 X509_NAME *subj;
1299 subj = X509_REQ_get_subject_name(req);
1380 if (!add_DN_object(subj,v->value,def,value,nid,
1384 if (X509_NAME_entry_count(subj) == 0)
1465 X509_NAME *subj;
1467 subj = X509_REQ_get_subject_name(req);
1499 if (!X509_NAME_add_entry_by_txt(subj,type, chtype,
1504 if (!X509_NAME_entry_count(subj))