1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00

See ChangeLog: Thu Jan 27 18:00:44 CET 2000 Werner Koch

This commit is contained in:
Werner Koch 2000-01-27 16:50:45 +00:00
parent db43afc923
commit baa30ad117
75 changed files with 1084 additions and 775 deletions

View file

@ -138,7 +138,7 @@ set_debug(void)
if( opt.debug & DBG_MPI_VALUE )
mpi_debug_mode = 1;
if( opt.debug & DBG_CIPHER_VALUE )
g10c_debug_mode = 1;
gpgc_debug_mode = 1;
if( opt.debug & DBG_IOBUF_VALUE )
iobuf_debug_mode = 1;
}
@ -201,7 +201,7 @@ main( int argc, char **argv )
else {
log_error("option file `%s': %s\n",
configname, strerror(errno) );
g10_exit(1);
gpg_exit(1);
}
gcry_free(configname); configname = NULL;
}
@ -235,7 +235,7 @@ main( int argc, char **argv )
}
gcry_free( configname ); configname = NULL;
if( log_get_errorcount(0) )
g10_exit(2);
gpg_exit(2);
fprintf(stderr, "%s %s; %s\n", strusage(11), strusage(13), strusage(14) );
fprintf(stderr, "%s\n", strusage(15) );
@ -245,13 +245,13 @@ main( int argc, char **argv )
become_daemon();
g10_exit(0);
gpg_exit(0);
return 8; /*NEVER REACHED*/
}
void
g10_exit( int rc )
gpg_exit( int rc )
{
secmem_term();
rc = rc? rc : log_get_errorcount(0)? 2:0;