mirror of
https://github.com/openssl/openssl.git
synced 2024-11-21 01:15:20 +08:00
Make sure that the signal storage is regarded as volatile.
This correction was originally introduced in OpenBSD's tracking of OpenSSL.
This commit is contained in:
parent
6859cf7459
commit
94960c8421
@ -378,7 +378,7 @@ static void read_till_nl(FILE *in)
|
||||
} while (strchr(buf,'\n') == NULL);
|
||||
}
|
||||
|
||||
static sig_atomic_t intr_signal;
|
||||
static volatile sig_atomic_t intr_signal;
|
||||
|
||||
static int read_string_inner(UI *ui, UI_STRING *uis, int echo, int strip_nl)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user