mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
* gpgsm.c (main): Disable the internal libgcrypt locking.
This commit is contained in:
parent
59e61f1fa2
commit
94a917356c
@ -1,3 +1,7 @@
|
|||||||
|
2002-09-03 Werner Koch <wk@gnupg.org>
|
||||||
|
|
||||||
|
* gpgsm.c (main): Disable the internal libgcrypt locking.
|
||||||
|
|
||||||
2002-08-21 Werner Koch <wk@gnupg.org>
|
2002-08-21 Werner Koch <wk@gnupg.org>
|
||||||
|
|
||||||
* import.c (print_imported_summary): Cleaned up. Print new
|
* import.c (print_imported_summary): Cleaned up. Print new
|
||||||
|
@ -74,7 +74,7 @@ enum cmd_and_opt_values {
|
|||||||
aSendKeys,
|
aSendKeys,
|
||||||
aRecvKeys,
|
aRecvKeys,
|
||||||
aExport,
|
aExport,
|
||||||
aCheckKeys,
|
aCheckKeys, /* nyi */
|
||||||
aServer,
|
aServer,
|
||||||
aLearnCard,
|
aLearnCard,
|
||||||
|
|
||||||
@ -606,6 +606,10 @@ main ( int argc, char **argv)
|
|||||||
/* trap_unaligned ();*/
|
/* trap_unaligned ();*/
|
||||||
set_strusage (my_strusage);
|
set_strusage (my_strusage);
|
||||||
gcry_control (GCRYCTL_SUSPEND_SECMEM_WARN);
|
gcry_control (GCRYCTL_SUSPEND_SECMEM_WARN);
|
||||||
|
/* We don't need any locking in libgcrypt unless we use any kind of
|
||||||
|
threading. */
|
||||||
|
gcry_control (GCRYCTL_DISABLE_INTERNAL_LOCKING);
|
||||||
|
|
||||||
/* Please note that we may running SUID(ROOT), so be very CAREFUL
|
/* Please note that we may running SUID(ROOT), so be very CAREFUL
|
||||||
when adding any stuff between here and the call to secmem_init()
|
when adding any stuff between here and the call to secmem_init()
|
||||||
somewhere after the option parsing */
|
somewhere after the option parsing */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user