Commit 7fa0e0fe authored by Niels Möller's avatar Niels Möller
Browse files

* src/client.c: Include environ.h, and use those macros for all

getenv calls.
* src/client_pty.c: Likewise.
* src/gateway.c: Likewise.
* src/lsh-keygen.c: Likewise.

Rev: src/lsh-keygen.c:1.15
parent 0205a457
......@@ -29,6 +29,7 @@
/* FIXME: Incorporate code from dsa_keygen and rsa_keygen */
#include "crypto.h"
#include "environ.h"
#include "format.h"
#include "io.h"
#include "publickey_crypto.h"
......@@ -197,8 +198,8 @@ main(int argc, char **argv)
r = (options->server
? make_system_random()
: make_user_random(getenv("HOME")));
: make_user_random(getenv(ENV_HOME)));
if (!r)
{
werror("Failed to initialize randomness generator.\n");
......
Markdown is supported
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