diff options
author | Marcus Brinkmann <mb@g10code.com> | 2009-11-05 03:18:31 +0100 |
---|---|---|
committer | Marcus Brinkmann <mb@g10code.com> | 2009-11-05 03:18:31 +0100 |
commit | a5c7929900fb78d1a01ff45c3899b544991b4061 (patch) | |
tree | cd4a33d8b5ba2dcbdecd922c34912d90ccc7bedb /g13 | |
parent | Add help strings for all commands (diff) | |
download | gnupg2-a5c7929900fb78d1a01ff45c3899b544991b4061.tar.xz gnupg2-a5c7929900fb78d1a01ff45c3899b544991b4061.zip |
Initialize opt.session_env.
Diffstat (limited to 'g13')
-rw-r--r-- | g13/g13.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -369,6 +369,11 @@ main ( int argc, char **argv) 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 (); /* First check whether we have a config file on the commandline. */ |