mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-23 15:07:03 +01:00
gpgv: Initialize compliance checker.
* g10/gpgv.c (main): Call gnupg_initialize_compliance. -- The compliance checker needs to be initialize so that it won't let spit out a "not suitable" message. We use the module name of gpg. Because there is no option to change the compliance mode in gpgv we will always be in the default (CO_GNUPG) mode. It also does not make much sense to have it here because gpgv expects a "curated" keyring. GnuPG-bug-id: 3404 Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
a821b4f556
commit
006ca124ed
@ -202,6 +202,7 @@ main( int argc, char **argv )
|
|||||||
dotlock_disable ();
|
dotlock_disable ();
|
||||||
gcry_control (GCRYCTL_INITIALIZATION_FINISHED, 0);
|
gcry_control (GCRYCTL_INITIALIZATION_FINISHED, 0);
|
||||||
additional_weak_digest("MD5");
|
additional_weak_digest("MD5");
|
||||||
|
gnupg_initialize_compliance (GNUPG_MODULE_NAME_GPG);
|
||||||
|
|
||||||
pargs.argc = &argc;
|
pargs.argc = &argc;
|
||||||
pargs.argv = &argv;
|
pargs.argv = &argv;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user