From: tb Date: Thu, 14 Dec 2023 15:31:22 +0000 (+0000) Subject: Bump OPENSSL_showfatal() from LOG_INFO to LOG_CONS X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=641a6f447e5af3781f483eb533e85eca63ff233d;p=openbsd 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 --- diff --git a/lib/libcrypto/cryptlib.c b/lib/libcrypto/cryptlib.c index 18f40e5448f..28b50c2c173 100644 --- a/lib/libcrypto/cryptlib.c +++ b/lib/libcrypto/cryptlib.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cryptlib.c,v 1.46 2023/07/08 08:28:23 beck Exp $ */ +/* $OpenBSD: cryptlib.c,v 1.47 2023/12/14 15:31:22 tb Exp $ */ /* ==================================================================== * Copyright (c) 1998-2006 The OpenSSL Project. All rights reserved. * @@ -355,7 +355,7 @@ OPENSSL_showfatal(const char *fmta, ...) va_list ap; va_start(ap, fmta); - vsyslog_r(LOG_INFO|LOG_LOCAL2, &sdata, fmta, ap); + vsyslog_r(LOG_CONS|LOG_LOCAL2, &sdata, fmta, ap); va_end(ap); }