Home
last modified time | relevance | path

Searched refs:nenv (Results 1 – 5 of 5) sorted by relevance

/external/openssh/
Dauth-options.c213 for (i = 0; i < opts->nenv; i++) in sshauthopt_free()
397 if (ret->nenv > INT_MAX) { in sshauthopt_parse()
421 if ((ret->env = recallocarray(ret->env, ret->nenv, in sshauthopt_parse()
422 ret->nenv + 1, sizeof(*ret->env))) == NULL) { in sshauthopt_parse()
427 ret->env[ret->nenv++] = opt; in sshauthopt_parse()
545 if (primary->nenv > 0) { in sshauthopt_merge()
546 if (dup_strings(&ret->env, &ret->nenv, in sshauthopt_merge()
547 primary->env, primary->nenv) != 0) in sshauthopt_merge()
549 } else if (additional->nenv) { in sshauthopt_merge()
550 if (dup_strings(&ret->env, &ret->nenv, in sshauthopt_merge()
[all …]
Dauth-options.h54 size_t nenv; member
Dauth.c1007 int do_env = options.permit_user_env && opts->nenv > 0; in auth_log_authopts()
1038 for (i = 0; i < opts->nenv; i++) { in auth_log_authopts()
Dsession.c1111 for (n = 0 ; n < auth_opts->nenv; n++) { in do_setup_env()
/external/openssh/regress/unittests/authopt/
Dtests.c126 ARRAY_EQ(nenv, env); in compare_opts()
270 env, nenv, "foo=1,bar=2"); in test_authkeys_parse()
555 expected->env = commasplit("foo=a,bar=b", &expected->nenv); in test_merge()