Searched refs:cnf (Results 1 - 25 of 37) sorted by relevance

12

/freebsd-10.3-release/usr.sbin/pw/
H A Dpw_log.c41 pw_log(struct userconf * cnf, int mode, int which, char const * fmt,...) argument
43 if (cnf->logfile && *cnf->logfile) {
45 int fd = open(cnf->logfile, O_WRONLY | O_CREAT | O_APPEND, 0600);
H A Dpw_group.c48 static gid_t gr_gidpolicy(struct userconf * cnf, intmax_t id);
98 pw_groupnext(struct userconf *cnf, bool quiet) argument
100 gid_t next = gr_gidpolicy(cnf, -1);
170 gr_gidpolicy(struct userconf * cnf, intmax_t id) argument
193 if (cnf->min_gid >= cnf->max_gid) { /* Sanity claus^H^H^H^Hheck */
194 cnf->min_gid = 1000;
195 cnf->max_gid = 32000;
197 bm = bm_alloc(cnf->max_gid - cnf
259 struct userconf *cnf; local
353 struct userconf *cnf = NULL; local
436 groupadd(struct userconf *cnf, char *name, gid_t id, char *members, int fd, bool dryrun, bool pretty, bool precrypted) argument
483 struct userconf *cnf = NULL; local
565 struct userconf *cnf; local
[all...]
H A Dpw_user.c76 static uid_t pw_uidpolicy(struct userconf *cnf, intmax_t id);
77 static uid_t pw_gidpolicy(struct userconf *cnf, char *grname, char *nam,
79 static char *pw_homepolicy(struct userconf * cnf, char *homedir,
81 static char *pw_shellpolicy(struct userconf * cnf);
82 static char *pw_password(struct userconf * cnf, char const * user,
120 * But we create a symlink from cnf->home -> "/usr" -> cnf->home
153 create_and_populate_homedir(struct userconf *cnf, struct passwd *pwd, argument
169 pw_log(cnf, update ? M_UPDATE : M_ADD, W_USER, "%s(%ju) home %s made",
327 pw_uidpolicy(struct userconf * cnf, intmax_ argument
381 pw_gidpolicy(struct userconf *cnf, char *grname, char *nam, gid_t prefer, bool dryrun) argument
428 pw_homepolicy(struct userconf * cnf, char *homedir, const char *user) argument
478 pw_shellpolicy(struct userconf * cnf) argument
510 pw_password(struct userconf * cnf, char const * user, bool dryrun) argument
741 struct userconf *cnf = NULL; local
852 struct userconf *cnf = NULL; local
1097 validate_grname(struct userconf *cnf, char *group) argument
1174 struct userconf *cnf, *cmdcnf; local
1485 struct userconf *cnf; local
[all...]
H A Dpw.h64 int write_userconfig(struct userconf *cnf, char const * file);
81 int pw_groupnext(struct userconf *cnf, bool quiet);
99 void pw_log(struct userconf * cnf, int mode, int which, char const * fmt,...) __printflike(4, 5);
/freebsd-10.3-release/crypto/openssl/crypto/x509v3/
H A Dv3_cpols.c143 CONF_VALUE *cnf;
157 cnf = sk_CONF_VALUE_value(vals, i);
158 if (cnf->value || !cnf->name) {
161 X509V3_conf_err(cnf);
164 pstr = cnf->name;
174 X509V3_conf_err(cnf);
182 if (!(pobj = OBJ_txt2obj(cnf->name, 0))) {
185 X509V3_conf_err(cnf);
213 CONF_VALUE *cnf;
[all...]
H A Dv3_crld.c114 CONF_VALUE *cnf)
118 if (!strncmp(cnf->name, "fullname", 9)) {
119 fnm = gnames_from_sectname(ctx, cnf->value);
122 } else if (!strcmp(cnf->name, "relativename")) {
129 dnsect = X509V3_get_section(ctx, cnf->value);
255 CONF_VALUE *cnf; local
262 cnf = sk_CONF_VALUE_value(nval, i);
263 ret = set_dist_point_name(&point->distpoint, ctx, cnf);
268 if (!strcmp(cnf->name, "reasons")) {
269 if (!set_reasons(&point->reasons, cnf
113 set_dist_point_name(DIST_POINT_NAME **pdp, X509V3_CTX *ctx, CONF_VALUE *cnf) argument
292 CONF_VALUE *cnf; local
420 CONF_VALUE *cnf; local
[all...]
H A Dv3_akey.c122 CONF_VALUE *cnf; local
133 cnf = sk_CONF_VALUE_value(values, i);
134 if (!strcmp(cnf->name, "keyid")) {
136 if (cnf->value && !strcmp(cnf->value, "always"))
138 } else if (!strcmp(cnf->name, "issuer")) {
140 if (cnf->value && !strcmp(cnf->value, "always"))
144 ERR_add_error_data(2, "name=", cnf->name);
H A Dv3_pci.c238 CONF_VALUE *cnf = sk_CONF_VALUE_value(vals, i); local
239 if (!cnf->name || (*cnf->name != '@' && !cnf->value)) {
242 X509V3_conf_err(cnf);
245 if (*cnf->name == '@') {
249 sect = X509V3_get_section(ctx, cnf->name + 1);
252 X509V3_conf_err(cnf);
264 if (!process_pci_value(cnf, &language, &pathlen, &policy)) {
265 X509V3_conf_err(cnf);
[all...]
H A Dv3_info.c152 CONF_VALUE *cnf, ctmp;
161 cnf = sk_CONF_VALUE_value(nval, i);
168 ptmp = strchr(cnf->name, ';');
174 objlen = ptmp - cnf->name;
176 ctmp.value = cnf->value;
184 strncpy(objtmp, cnf->name, objlen);
H A Dv3_alt.c244 CONF_VALUE *cnf; local
251 cnf = sk_CONF_VALUE_value(nval, i);
252 if (!name_cmp(cnf->name, "issuer") && cnf->value &&
253 !strcmp(cnf->value, "copy")) {
258 if (!(gen = v2i_GENERAL_NAME(method, ctx, cnf)))
313 CONF_VALUE *cnf; local
320 cnf = sk_CONF_VALUE_value(nval, i);
321 if (!name_cmp(cnf->name, "email") && cnf
404 CONF_VALUE *cnf; local
422 v2i_GENERAL_NAME(const X509V3_EXT_METHOD *method, X509V3_CTX *ctx, CONF_VALUE *cnf) argument
519 v2i_GENERAL_NAME_ex(GENERAL_NAME *out, const X509V3_EXT_METHOD *method, X509V3_CTX *ctx, CONF_VALUE *cnf, int is_nc) argument
[all...]
H A Dv3_sxnet.c136 CONF_VALUE *cnf;
140 cnf = sk_CONF_VALUE_value(nval, i);
141 if (!SXNET_add_id_asc(&sx, cnf->name, cnf->value, -1))
/freebsd-10.3-release/crypto/openssl/crypto/engine/
H A Deng_cnf.c91 static int int_engine_configure(char *name, char *value, const CONF *cnf) argument
107 ecmds = NCONF_get_section(cnf, value);
165 if (!NCONF_get_number_e(cnf, value, "init", &do_init))
202 static int int_engine_module_init(CONF_IMODULE *md, const CONF *cnf) argument
212 elist = NCONF_get_section(cnf, CONF_imodule_get_value(md));
222 if (!int_engine_configure(cval->name, cval->value, cnf))
/freebsd-10.3-release/crypto/openssl/crypto/conf/
H A Dconf_mod.c109 static int module_run(const CONF *cnf, char *name, char *value,
116 const CONF *cnf);
117 static CONF_MODULE *module_load_dso(const CONF *cnf, char *name, char *value,
122 int CONF_modules_load(const CONF *cnf, const char *appname, argument
131 if (!cnf)
135 vsection = NCONF_get_string(cnf, NULL, appname);
138 vsection = NCONF_get_string(cnf, NULL, "openssl_conf");
145 values = NCONF_get_section(cnf, vsection);
152 ret = module_run(cnf, vl->name, vl->value, flags);
198 static int module_run(const CONF *cnf, cha argument
234 module_load_dso(const CONF *cnf, char *name, char *value, unsigned long flags) argument
332 module_init(CONF_MODULE *pmod, char *name, char *value, const CONF *cnf) argument
[all...]
H A Dconf.h109 typedef int conf_init_func (CONF_IMODULE *md, const CONF *cnf);
185 int CONF_modules_load(const CONF *cnf, const char *appname,
/freebsd-10.3-release/contrib/netbsd-tests/crypto/libcrypto/
H A Dt_libcrypto.sh68 cp $(atf_get_srcdir)/d_conf_ssleay.cnf ssleay.cnf
/freebsd-10.3-release/crypto/openssl/crypto/evp/
H A Devp_cnf.c74 static int alg_module_init(CONF_IMODULE *md, const CONF *cnf) argument
81 if (!(sktmp = NCONF_get_section(cnf, oid_section))) {
/freebsd-10.3-release/crypto/openssl/crypto/asn1/
H A Dasn_moid.c72 static int oid_module_init(CONF_IMODULE *md, const CONF *cnf) argument
79 if (!(sktmp = NCONF_get_section(cnf, oid_section))) {
H A Dasn1_gen.c115 static ASN1_TYPE *generate_v3(char *str, X509V3_CTX *cnf, int depth,
123 static ASN1_TYPE *asn1_multi(int utype, const char *section, X509V3_CTX *cnf,
130 X509V3_CTX cnf; local
135 X509V3_set_nconf(&cnf, nconf);
136 return ASN1_generate_v3(str, &cnf);
139 ASN1_TYPE *ASN1_generate_v3(char *str, X509V3_CTX *cnf) argument
142 ASN1_TYPE *ret = generate_v3(str, cnf, 0, &err);
148 static ASN1_TYPE *generate_v3(char *str, X509V3_CTX *cnf, int depth, argument
177 if (!cnf) {
185 ret = asn1_multi(asn1_tags.utype, asn1_tags.str, cnf, dept
458 asn1_multi(int utype, const char *section, X509V3_CTX *cnf, int depth, int *perr) argument
[all...]
/freebsd-10.3-release/crypto/openssl/apps/
H A Dasn1pars.c376 CONF *cnf = NULL; local
383 cnf = NCONF_new(NULL);
384 if (!NCONF_load(cnf, genconf, &errline))
387 genstr = NCONF_get_string(cnf, "default", "asn1");
394 atyp = ASN1_generate_nconf(genstr, cnf);
395 NCONF_free(cnf);
396 cnf = NULL;
425 NCONF_free(cnf);
H A Dapps.c725 CONF_VALUE *cnf; local
736 cnf = sk_CONF_VALUE_value(sktmp, i);
737 if (OBJ_create(cnf->value, cnf->name, cnf->name) == NID_undef) {
739 cnf->name, cnf->value);
1466 int load_config(BIO *err, CONF *cnf) argument
1472 if (!cnf)
1473 cnf
[all...]
H A Dapps.h270 int load_config(BIO *err, CONF *cnf);
/freebsd-10.3-release/usr.sbin/uefisign/
H A Duefisign.c157 CONF *cnf; local
179 cnf = NCONF_new(NULL);
180 if (cnf == NULL) {
185 ok = NCONF_load_bio(cnf, bio, NULL);
191 str = NCONF_get_string(cnf, "default", "asn1");
197 t = ASN1_generate_nconf(str, cnf);
/freebsd-10.3-release/etc/rc.d/
H A Dsendmail66 cat <<-OPENSSL_CNF > openssl.cnf &&
131 -config openssl.cnf -newkey rsa:2048 >/dev/null 2>&1 &&
135 -out newreq.pem -days 365 -config openssl.cnf \
141 openssl ca -notext -config openssl.cnf \
/freebsd-10.3-release/crypto/openssl/util/
H A Dcygwin.sh139 usr/ssl/certs usr/ssl/man/man[157] usr/ssl/misc usr/ssl/openssl.cnf \
/freebsd-10.3-release/crypto/openssl/
H A DMakefile.org459 $(CLEARENV) && $(MAKE) -e $(BUILDENV) TOP=.. TESTS='$(TESTS)' OPENSSL_DEBUG_MEMORY=on OPENSSL_CONF=../apps/openssl.cnf tests );
460 OPENSSL_CONF=apps/openssl.cnf util/opensslwrap.sh version -a

Completed in 173 milliseconds

12