summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortb <>2024-03-16 21:42:20 +0000
committertb <>2024-03-16 21:42:20 +0000
commit867e80a6872b3ba4a6625c024b19d5ba20164111 (patch)
treecac5a762f76c0ee887f36e12e4cfb63e49988cca /src
parent68bc09a557a7892bbe063a0dca7bf5b29969d17b (diff)
downloadopenbsd-867e80a6872b3ba4a6625c024b19d5ba20164111.tar.gz
openbsd-867e80a6872b3ba4a6625c024b19d5ba20164111.tar.bz2
openbsd-867e80a6872b3ba4a6625c024b19d5ba20164111.zip
Remove ugly parens and thereby fix KNF
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/cversion.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/lib/libcrypto/cversion.c b/src/lib/libcrypto/cversion.c
index acb7b70543..95479d338d 100644
--- a/src/lib/libcrypto/cversion.c
+++ b/src/lib/libcrypto/cversion.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: cversion.c,v 1.18 2023/07/08 08:28:23 beck Exp $ */ 1/* $OpenBSD: cversion.c,v 1.19 2024/03/16 21:42:20 tb Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -68,15 +68,15 @@ SSLeay_version(int t)
68 case SSLEAY_VERSION: 68 case SSLEAY_VERSION:
69 return OPENSSL_VERSION_TEXT; 69 return OPENSSL_VERSION_TEXT;
70 case SSLEAY_BUILT_ON: 70 case SSLEAY_BUILT_ON:
71 return("built on: date not available"); 71 return "built on: date not available";
72 case SSLEAY_CFLAGS: 72 case SSLEAY_CFLAGS:
73 return("compiler: information not available"); 73 return "compiler: information not available";
74 case SSLEAY_PLATFORM: 74 case SSLEAY_PLATFORM:
75 return("platform: information not available"); 75 return "platform: information not available";
76 case SSLEAY_DIR: 76 case SSLEAY_DIR:
77 return "OPENSSLDIR: \"" OPENSSLDIR "\""; 77 return "OPENSSLDIR: \"" OPENSSLDIR "\"";
78 } 78 }
79 return("not available"); 79 return "not available";
80} 80}
81LCRYPTO_ALIAS(SSLeay_version); 81LCRYPTO_ALIAS(SSLeay_version);
82 82
@@ -94,17 +94,17 @@ OpenSSL_version(int t)
94 case OPENSSL_VERSION: 94 case OPENSSL_VERSION:
95 return OPENSSL_VERSION_TEXT; 95 return OPENSSL_VERSION_TEXT;
96 case OPENSSL_BUILT_ON: 96 case OPENSSL_BUILT_ON:
97 return("built on: date not available"); 97 return "built on: date not available";
98 case OPENSSL_CFLAGS: 98 case OPENSSL_CFLAGS:
99 return("compiler: information not available"); 99 return "compiler: information not available";
100 case OPENSSL_PLATFORM: 100 case OPENSSL_PLATFORM:
101 return("platform: information not available"); 101 return "platform: information not available";
102 case OPENSSL_DIR: 102 case OPENSSL_DIR:
103 return "OPENSSLDIR: \"" OPENSSLDIR "\""; 103 return "OPENSSLDIR: \"" OPENSSLDIR "\"";
104 case OPENSSL_ENGINES_DIR: 104 case OPENSSL_ENGINES_DIR:
105 return "ENGINESDIR: N/A"; 105 return "ENGINESDIR: N/A";
106 } 106 }
107 return("not available"); 107 return "not available";
108} 108}
109LCRYPTO_ALIAS(OpenSSL_version); 109LCRYPTO_ALIAS(OpenSSL_version);
110 110