mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
common,gpg,sm: Initialize compliance module.
* common/compliance.c (gnupg_initialize_compliance): New function. * common/compliance.h (gnupg_initialize_compliance): New prototype. * g10/gpg.c (main): Use the new function. * sm/gpgsm.c (main): Likewise. GnuPG-bug-id: 3191 Signed-off-by: Justus Winter <justus@g10code.com>
This commit is contained in:
parent
f440cf73ea
commit
21fc2508c9
4 changed files with 71 additions and 0 deletions
|
@ -2327,6 +2327,9 @@ main (int argc, char **argv)
|
|||
|
||||
dotlock_create (NULL, 0); /* Register lock file cleanup. */
|
||||
|
||||
/* Tell the compliance module who we are. */
|
||||
gnupg_initialize_compliance (GNUPG_MODULE_NAME_GPG);
|
||||
|
||||
opt.autostart = 1;
|
||||
opt.session_env = session_env_new ();
|
||||
if (!opt.session_env)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue