Lines Matching defs: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");
915 i=make_REQ(req,pkey,subj,multirdn,!x509, chtype);
916 subj=NULL; /* done processing '-subj' option */
996 if (subj && x509)
1002 if (subj && !x509)
1010 if (build_subject(req, subj, chtype, multirdn) == 0)
1201 static int make_REQ(X509_REQ *req, EVP_PKEY *pkey, char *subj, int multirdn,
1251 if (subj)
1252 i = build_subject(req, subj, chtype, multirdn);
1299 X509_NAME *subj;
1300 subj = X509_REQ_get_subject_name(req);
1381 if (!add_DN_object(subj,v->value,def,value,nid,
1385 if (X509_NAME_entry_count(subj) == 0)
1466 X509_NAME *subj;
1468 subj = X509_REQ_get_subject_name(req);
1500 if (!X509_NAME_add_entry_by_txt(subj,type, chtype,
1505 if (!X509_NAME_entry_count(subj))