mirror of
https://github.com/openssl/openssl.git
synced 2025-01-18 13:44:20 +08:00
Update from stable branch.
This commit is contained in:
parent
ce75ca04b1
commit
bfa4b8c5ab
@ -578,7 +578,9 @@ static int close_console(UI *ui)
|
||||
/* Internal functions to handle signals and act on them */
|
||||
static void pushsig(void)
|
||||
{
|
||||
#ifndef OPENSSL_SYS_WIN32
|
||||
int i;
|
||||
#endif
|
||||
#ifdef SIGACTION
|
||||
struct sigaction sa;
|
||||
|
||||
@ -623,8 +625,6 @@ static void pushsig(void)
|
||||
|
||||
static void popsig(void)
|
||||
{
|
||||
int i;
|
||||
|
||||
#ifdef OPENSSL_SYS_WIN32
|
||||
signal(SIGABRT,savsig[SIGABRT]);
|
||||
signal(SIGFPE,savsig[SIGFPE]);
|
||||
@ -633,6 +633,7 @@ static void popsig(void)
|
||||
signal(SIGSEGV,savsig[SIGSEGV]);
|
||||
signal(SIGTERM,savsig[SIGTERM]);
|
||||
#else
|
||||
int i;
|
||||
for (i=1; i<NX509_SIG; i++)
|
||||
{
|
||||
#ifdef SIGUSR1
|
||||
|
Loading…
Reference in New Issue
Block a user