diff options
| author | Werner Koch <[email protected]> | 2015-01-28 18:57:22 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 2015-01-28 18:57:22 +0000 |
| commit | 0c2bfd9d5a49a6134188f8f7820f6ccdebd9f181 (patch) | |
| tree | 15c64db121e54ac1fa076be8ced08ee1ceffcf70 /g10/gpg.c | |
| parent | gpg: Allow predefined names as answer to the keygen.algo prompt. (diff) | |
| download | gnupg-0c2bfd9d5a49a6134188f8f7820f6ccdebd9f181.tar.gz gnupg-0c2bfd9d5a49a6134188f8f7820f6ccdebd9f181.zip | |
Add a hook to be called right after main.
* common/init.c (early_system_init): New stub function.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'g10/gpg.c')
| -rw-r--r-- | g10/gpg.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -2048,6 +2048,7 @@ main (int argc, char **argv) /* Please note that we may running SUID(ROOT), so be very CAREFUL when adding any stuff between here and the call to secmem_init() somewhere after the option parsing. */ + early_system_init (); gnupg_reopen_std (GPG_NAME); trap_unaligned (); gnupg_rl_initialize (); |
