Commit 6fd48cc1 authored by Niels Möller's avatar Niels Möller
Browse files

(make_options): Disable use of randomness generator.

Breaks X11 forwarding (generation of fake X11 cookies).

Rev: src/lsh.c:1.205
parent 818f53b5
......@@ -348,10 +348,14 @@ make_options(struct exception_handler *handler,
{
NEW(lsh_options, self);
const char *home = getenv(ENV_HOME);
#if 0
struct randomness *r = make_user_random(home);
#endif
const char *transport_program;
init_client_options(&self->super, r, handler, exit_code);
/* Randomness generator used only for fake X11 cookies, and X11
support is currently disabled */
init_client_options(&self->super, NULL, handler, exit_code);
self->home = home;
......@@ -372,7 +376,7 @@ make_options(struct exception_handler *handler,
/* Option parsing */
const char *argp_program_version
= "lsh-" VERSION ", secsh protocol version " CLIENT_PROTOCOL_VERSION;
= "lsh (" PACKAGE_STRING "), secsh protocol version " CLIENT_PROTOCOL_VERSION;
const char *argp_program_bug_address = BUG_ADDRESS;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment