mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-03 12:11:33 +01:00
Initialize opt.session_env.
This commit is contained in:
parent
16a8979984
commit
a5c7929900
@ -369,6 +369,11 @@ main ( int argc, char **argv)
|
|||||||
|
|
||||||
create_dotlock (NULL); /* Register locking cleanup. */
|
create_dotlock (NULL); /* Register locking cleanup. */
|
||||||
|
|
||||||
|
opt.session_env = session_env_new ();
|
||||||
|
if (!opt.session_env)
|
||||||
|
log_fatal ("error allocating session environment block: %s\n",
|
||||||
|
strerror (errno));
|
||||||
|
|
||||||
opt.homedir = default_homedir ();
|
opt.homedir = default_homedir ();
|
||||||
|
|
||||||
/* First check whether we have a config file on the commandline. */
|
/* First check whether we have a config file on the commandline. */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user