From: Richard Levitte Date: Wed, 25 Sep 2002 14:14:11 +0000 (+0000) Subject: Make sure that the signal storage is regarded as volatile. X-Git-Tag: OpenSSL_0_9_7-beta4~140^2~39 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=94960c84215f89cc7f655ad13418fbb38e597ed2;p=oweals%2Fopenssl.git Make sure that the signal storage is regarded as volatile. This correction was originally introduced in OpenBSD's tracking of OpenSSL. --- diff --git a/crypto/ui/ui_openssl.c b/crypto/ui/ui_openssl.c index 2c2fbc0443..f47ed31cb0 100644 --- a/crypto/ui/ui_openssl.c +++ b/crypto/ui/ui_openssl.c @@ -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) {