Lines Matching full:subj
130 static int build_subject(X509_REQ *req, char *subj, unsigned long chtype,
188 char *subj = NULL;
358 else if (strcmp(*argv,"-subj") == 0)
361 subj= *(++argv);
435 BIO_printf(bio_err," -subj arg set or modify request subject\n");
815 i=make_REQ(req,pkey,subj,multirdn,!x509, chtype);
816 subj=NULL; /* done processing '-subj' option */
904 if (subj && x509)
910 if (subj && !x509)
918 if (build_subject(req, subj, chtype, multirdn) == 0)
1115 static int make_REQ(X509_REQ *req, EVP_PKEY *pkey, char *subj, int multirdn,
1165 if (subj)
1166 i = build_subject(req, subj, chtype, multirdn);
1213 X509_NAME *subj;
1214 subj = X509_REQ_get_subject_name(req);
1295 if (!add_DN_object(subj,v->value,def,value,nid,
1299 if (X509_NAME_entry_count(subj) == 0)
1386 X509_NAME *subj;
1388 subj = X509_REQ_get_subject_name(req);
1420 if (!X509_NAME_add_entry_by_txt(subj,type, chtype,
1425 if (!X509_NAME_entry_count(subj))