diff options
author | deraadt <> | 2002-06-03 11:36:56 +0000 |
---|---|---|
committer | deraadt <> | 2002-06-03 11:36:56 +0000 |
commit | d13d58e31ac54f9b283fe3ec100f31030e050fb4 (patch) | |
tree | 57b72b0a8994a844126011dc283b7094729c8442 /src | |
parent | ef4b0b59580dd3ec7d01a8b805bc3b5785254a9f (diff) | |
download | openbsd-d13d58e31ac54f9b283fe3ec100f31030e050fb4.tar.gz openbsd-d13d58e31ac54f9b283fe3ec100f31030e050fb4.tar.bz2 openbsd-d13d58e31ac54f9b283fe3ec100f31030e050fb4.zip |
sig_atomic_t type must also be volatile
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libcrypto/ui/ui_openssl.c | 2 | ||||
-rw-r--r-- | src/lib/libssl/src/crypto/ui/ui_openssl.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/ui/ui_openssl.c b/src/lib/libcrypto/ui/ui_openssl.c index 4e12165410..821dd29eaa 100644 --- a/src/lib/libcrypto/ui/ui_openssl.c +++ b/src/lib/libcrypto/ui/ui_openssl.c | |||
@@ -378,7 +378,7 @@ static void read_till_nl(FILE *in) | |||
378 | } while (strchr(buf,'\n') == NULL); | 378 | } while (strchr(buf,'\n') == NULL); |
379 | } | 379 | } |
380 | 380 | ||
381 | static sig_atomic_t intr_signal; | 381 | static volatile sig_atomic_t intr_signal; |
382 | 382 | ||
383 | static int read_string_inner(UI *ui, UI_STRING *uis, int echo, int strip_nl) | 383 | static int read_string_inner(UI *ui, UI_STRING *uis, int echo, int strip_nl) |
384 | { | 384 | { |
diff --git a/src/lib/libssl/src/crypto/ui/ui_openssl.c b/src/lib/libssl/src/crypto/ui/ui_openssl.c index 4e12165410..821dd29eaa 100644 --- a/src/lib/libssl/src/crypto/ui/ui_openssl.c +++ b/src/lib/libssl/src/crypto/ui/ui_openssl.c | |||
@@ -378,7 +378,7 @@ static void read_till_nl(FILE *in) | |||
378 | } while (strchr(buf,'\n') == NULL); | 378 | } while (strchr(buf,'\n') == NULL); |
379 | } | 379 | } |
380 | 380 | ||
381 | static sig_atomic_t intr_signal; | 381 | static volatile sig_atomic_t intr_signal; |
382 | 382 | ||
383 | static int read_string_inner(UI *ui, UI_STRING *uis, int echo, int strip_nl) | 383 | static int read_string_inner(UI *ui, UI_STRING *uis, int echo, int strip_nl) |
384 | { | 384 | { |