Home GnuPG
Diffusion GnuPG 2aa0701013f7

common: Add a default socket name feature.
2aa0701013f7Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

common: Add a default socket name feature.

* common/logging.c (log_set_socket_dir_cb): New.
(socket_dir_cb): New.
(set_file_fd): Allow "socket://".
(fun_writer): Implement default socket name.
* common/init.c (_init_common_subsystems): Register default socket.

This change allows the use of

log-file socket://

in any configuration file.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Aug 29 2016, 11:45 AM
Parents
rGbdbd03608b6f: gpg: Make decryption of -R work w/o --try-secret-key or --default-key.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rG2aa0701013f7: common: Add a default socket name feature. (authored by Werner Koch <wk@gnupg.org>).Aug 29 2016, 11:51 AM