From 31b402da176de47bd877e432c44584cbe5d0195c Mon Sep 17 00:00:00 2001 From: tb Date: Sat, 16 Mar 2024 21:42:20 +0000 Subject: [PATCH] Remove ugly parens and thereby fix KNF --- lib/libcrypto/cversion.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/lib/libcrypto/cversion.c b/lib/libcrypto/cversion.c index acb7b705435..95479d338dd 100644 --- a/lib/libcrypto/cversion.c +++ b/lib/libcrypto/cversion.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cversion.c,v 1.18 2023/07/08 08:28:23 beck Exp $ */ +/* $OpenBSD: cversion.c,v 1.19 2024/03/16 21:42:20 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -68,15 +68,15 @@ SSLeay_version(int t) case SSLEAY_VERSION: return OPENSSL_VERSION_TEXT; case SSLEAY_BUILT_ON: - return("built on: date not available"); + return "built on: date not available"; case SSLEAY_CFLAGS: - return("compiler: information not available"); + return "compiler: information not available"; case SSLEAY_PLATFORM: - return("platform: information not available"); + return "platform: information not available"; case SSLEAY_DIR: return "OPENSSLDIR: \"" OPENSSLDIR "\""; } - return("not available"); + return "not available"; } LCRYPTO_ALIAS(SSLeay_version); @@ -94,17 +94,17 @@ OpenSSL_version(int t) case OPENSSL_VERSION: return OPENSSL_VERSION_TEXT; case OPENSSL_BUILT_ON: - return("built on: date not available"); + return "built on: date not available"; case OPENSSL_CFLAGS: - return("compiler: information not available"); + return "compiler: information not available"; case OPENSSL_PLATFORM: - return("platform: information not available"); + return "platform: information not available"; case OPENSSL_DIR: return "OPENSSLDIR: \"" OPENSSLDIR "\""; case OPENSSL_ENGINES_DIR: return "ENGINESDIR: N/A"; } - return("not available"); + return "not available"; } LCRYPTO_ALIAS(OpenSSL_version); -- 2.20.1