aboutsummaryrefslogtreecommitdiff
path: root/crypto/ui
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2002-09-25 14:14:11 +0000
committerRichard Levitte <levitte@openssl.org>2002-09-25 14:14:11 +0000
commit94960c84215f89cc7f655ad13418fbb38e597ed2 (patch)
treef12070ea0dfc74ef554b2d8879754cf42f721cad /crypto/ui
parent6859cf745961b04bea73297a275b3269085f6970 (diff)
downloadopenssl-94960c84215f89cc7f655ad13418fbb38e597ed2.zip
openssl-94960c84215f89cc7f655ad13418fbb38e597ed2.tar.gz
openssl-94960c84215f89cc7f655ad13418fbb38e597ed2.tar.bz2
Make sure that the signal storage is regarded as volatile.
This correction was originally introduced in OpenBSD's tracking of OpenSSL.
Diffstat (limited to 'crypto/ui')
-rw-r--r--crypto/ui/ui_openssl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/ui/ui_openssl.c b/crypto/ui/ui_openssl.c
index 2c2fbc0..f47ed31 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)
{