summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-06-03 11:36:57 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-06-03 11:36:57 +0000
commitd638bbbd4d30397af50fadfd5f2bb4bb609f04f0 (patch)
tree84289c818a91ee2c37a22682ab16b06262acb131
parent5f01c78b85af4f66b48a1589329c4fb9981ce752 (diff)
sig_atomic_t type must also be volatile
-rw-r--r--lib/libcrypto/ui/ui_openssl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libcrypto/ui/ui_openssl.c b/lib/libcrypto/ui/ui_openssl.c
index 4e121654101..821dd29eaaf 100644
--- a/lib/libcrypto/ui/ui_openssl.c
+++ b/lib/libcrypto/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)
{