mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-14 21:47:19 +02:00
backup
This commit is contained in:
parent
786a2870df
commit
8477407e79
48 changed files with 1965 additions and 1215 deletions
|
@ -41,6 +41,7 @@
|
|||
#include "ttyio.h"
|
||||
#include "i18n.h"
|
||||
#include "status.h"
|
||||
#include "g10defs.h"
|
||||
|
||||
#ifndef IS_G10MAINT
|
||||
#define IS_G10 1
|
||||
|
@ -503,8 +504,8 @@ main( int argc, char **argv )
|
|||
log_set_name("gpg");
|
||||
secure_random_alloc(); /* put random number into secure memory */
|
||||
disable_core_dumps();
|
||||
init_signals();
|
||||
#endif
|
||||
init_signals();
|
||||
i18n_init();
|
||||
opt.compress = -1; /* defaults to standard compress level */
|
||||
/* fixme: set the next two to zero and decide where used */
|
||||
|
@ -571,7 +572,6 @@ main( int argc, char **argv )
|
|||
/* Okay, we are now working under our real uid */
|
||||
#endif
|
||||
|
||||
|
||||
if( default_config )
|
||||
configname = make_filename(opt.homedir, "options", NULL );
|
||||
|
||||
|
@ -1232,6 +1232,8 @@ main( int argc, char **argv )
|
|||
void
|
||||
g10_exit( int rc )
|
||||
{
|
||||
if( opt.debug & DBG_MEMSTAT_VALUE )
|
||||
m_print_stats("on exit");
|
||||
if( opt.debug )
|
||||
secmem_dump_stats();
|
||||
secmem_term();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue