diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2024-11-01 18:36:31 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2024-11-01 18:36:31 +0000 |
commit | 3150f2fed3dda897882208296b5b73ea07985950 (patch) | |
tree | 83870516a745da475d347c65d76989c2f08e6e65 /lib | |
parent | 98c862c86b4c36ef66d94822cc18435c75e865d6 (diff) |
Drop some pointless parentheses
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libcrypto/cversion.c | 4 | ||||
-rw-r--r-- | lib/libcrypto/x509/x509_def.c | 14 |
2 files changed, 9 insertions, 9 deletions
diff --git a/lib/libcrypto/cversion.c b/lib/libcrypto/cversion.c index 95479d338dd..b29932027af 100644 --- a/lib/libcrypto/cversion.c +++ b/lib/libcrypto/cversion.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cversion.c,v 1.19 2024/03/16 21:42:20 tb Exp $ */ +/* $OpenBSD: cversion.c,v 1.20 2024/11/01 18:36:29 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -83,7 +83,7 @@ LCRYPTO_ALIAS(SSLeay_version); unsigned long SSLeay(void) { - return (SSLEAY_VERSION_NUMBER); + return SSLEAY_VERSION_NUMBER; } LCRYPTO_ALIAS(SSLeay); diff --git a/lib/libcrypto/x509/x509_def.c b/lib/libcrypto/x509/x509_def.c index aca40329dcc..42bdb9bc6a4 100644 --- a/lib/libcrypto/x509/x509_def.c +++ b/lib/libcrypto/x509/x509_def.c @@ -1,4 +1,4 @@ -/* $OpenBSD: x509_def.c,v 1.8 2024/11/01 18:34:06 tb Exp $ */ +/* $OpenBSD: x509_def.c,v 1.9 2024/11/01 18:36:30 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -63,41 +63,41 @@ const char * X509_get_default_private_dir(void) { - return (X509_PRIVATE_DIR); + return X509_PRIVATE_DIR; } LCRYPTO_ALIAS(X509_get_default_private_dir); const char * X509_get_default_cert_area(void) { - return (X509_CERT_AREA); + return X509_CERT_AREA; } LCRYPTO_ALIAS(X509_get_default_cert_area); const char * X509_get_default_cert_dir(void) { - return (X509_CERT_DIR); + return X509_CERT_DIR; } LCRYPTO_ALIAS(X509_get_default_cert_dir); const char * X509_get_default_cert_file(void) { - return (X509_CERT_FILE); + return X509_CERT_FILE; } LCRYPTO_ALIAS(X509_get_default_cert_file); const char * X509_get_default_cert_dir_env(void) { - return (X509_CERT_DIR_EVP); + return X509_CERT_DIR_EVP; } LCRYPTO_ALIAS(X509_get_default_cert_dir_env); const char * X509_get_default_cert_file_env(void) { - return (X509_CERT_FILE_EVP); + return X509_CERT_FILE_EVP; } LCRYPTO_ALIAS(X509_get_default_cert_file_env); |