diff options
| author | tb <> | 2023-12-14 15:31:22 +0000 |
|---|---|---|
| committer | tb <> | 2023-12-14 15:31:22 +0000 |
| commit | 32962333c6b8732ece37d23a17eec8bdba952aca (patch) | |
| tree | 2042f5f63702bdc511581fc7c4a84c881631b671 /src | |
| parent | 6175c73d5d76ae41d5cc0fcd1eaf3a78fe9b8a5b (diff) | |
| download | openbsd-32962333c6b8732ece37d23a17eec8bdba952aca.tar.gz openbsd-32962333c6b8732ece37d23a17eec8bdba952aca.tar.bz2 openbsd-32962333c6b8732ece37d23a17eec8bdba952aca.zip | |
Bump OPENSSL_showfatal() from LOG_INFO to LOG_CONS
This way people can actually notice that an OPENSSL_assert() triggered.
discussed with deraadt and jsing
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/libcrypto/cryptlib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/cryptlib.c b/src/lib/libcrypto/cryptlib.c index 18f40e5448..28b50c2c17 100644 --- a/src/lib/libcrypto/cryptlib.c +++ b/src/lib/libcrypto/cryptlib.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: cryptlib.c,v 1.46 2023/07/08 08:28:23 beck Exp $ */ | 1 | /* $OpenBSD: cryptlib.c,v 1.47 2023/12/14 15:31:22 tb Exp $ */ |
| 2 | /* ==================================================================== | 2 | /* ==================================================================== |
| 3 | * Copyright (c) 1998-2006 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 1998-2006 The OpenSSL Project. All rights reserved. |
| 4 | * | 4 | * |
| @@ -355,7 +355,7 @@ OPENSSL_showfatal(const char *fmta, ...) | |||
| 355 | va_list ap; | 355 | va_list ap; |
| 356 | 356 | ||
| 357 | va_start(ap, fmta); | 357 | va_start(ap, fmta); |
| 358 | vsyslog_r(LOG_INFO|LOG_LOCAL2, &sdata, fmta, ap); | 358 | vsyslog_r(LOG_CONS|LOG_LOCAL2, &sdata, fmta, ap); |
| 359 | va_end(ap); | 359 | va_end(ap); |
| 360 | } | 360 | } |
| 361 | 361 | ||
