version 1.271, 2006/03/20 18:42:26 |
version 1.272, 2006/03/25 00:05:41 |
|
|
if (options.rhosts_rsa_authentication || |
if (options.rhosts_rsa_authentication || |
options.hostbased_authentication) { |
options.hostbased_authentication) { |
sensitive_data.nkeys = 3; |
sensitive_data.nkeys = 3; |
sensitive_data.keys = xmalloc(sensitive_data.nkeys * |
sensitive_data.keys = xcalloc(sensitive_data.nkeys, |
sizeof(Key)); |
sizeof(Key)); |
|
|
PRIV_START; |
PRIV_START; |
|
|
int i; |
int i; |
char name[1024], *cp; |
char name[1024], *cp; |
|
|
strlcpy(name, env, sizeof(name)); |
if (strlcpy(name, env, sizeof(name)) >= sizeof(name)) |
|
fatal("env_permitted: name too long"); |
if ((cp = strchr(name, '=')) == NULL) |
if ((cp = strchr(name, '=')) == NULL) |
return (0); |
return (0); |
|
|