diff options
author | Werner Koch <[email protected]> | 2007-11-19 16:03:50 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2007-11-19 16:03:50 +0000 |
commit | 55ba204bfa848c2e591a29fedc9f103103493a57 (patch) | |
tree | e37263e4d3a25e2aa300faf4c5240191b54ea1a7 /sm/misc.c | |
parent | Updated (diff) | |
download | gnupg-55ba204bfa848c2e591a29fedc9f103103493a57.tar.gz gnupg-55ba204bfa848c2e591a29fedc9f103103493a57.zip |
Started to implement the audit log feature.
Pass PINENTRY_USER_DATA and XAUTHORITY to Pinentry.
Improved support for the quality bar.
Minor internal restructuring.
Translation fixes.
Diffstat (limited to 'sm/misc.c')
-rw-r--r-- | sm/misc.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -76,6 +76,13 @@ setup_pinentry_env (void) else if ( (lc = setlocale (LC_MESSAGES, "")) ) setenv ("LC_MESSAGES", lc, 1); #endif + + if (opt.xauthority) + setenv ("XAUTHORITY", opt.xauthority, 1); + + if (opt.pinentry_user_data) + setenv ("PINENTRY_USER_DATA", opt.pinentry_user_data, 1); + #endif /*!HAVE_W32_SYSTEM*/ } |