summaryrefslogtreecommitdiff
path: root/lib/libssl
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2022-01-20 20:37:34 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2022-01-20 20:37:34 +0000
commitd14f4a1793cd0ba82eab1f4128d4892f11ea76d6 (patch)
tree04909b24263de1692863ca1813881cf995559f47 /lib/libssl
parent8c8eb69bbf2d6c3bd09690dfb1ea4151142828a6 (diff)
Remove the remaining three parens in return statements.
Diffstat (limited to 'lib/libssl')
-rw-r--r--lib/libssl/ssl_sigalgs.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libssl/ssl_sigalgs.c b/lib/libssl/ssl_sigalgs.c
index 2960b127e04..fd96317fde7 100644
--- a/lib/libssl/ssl_sigalgs.c
+++ b/lib/libssl/ssl_sigalgs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssl_sigalgs.c,v 1.39 2022/01/20 20:35:46 tb Exp $ */
+/* $OpenBSD: ssl_sigalgs.c,v 1.40 2022/01/20 20:37:33 tb Exp $ */
/*
* Copyright (c) 2018-2020 Bob Beck <beck@openbsd.org>
* Copyright (c) 2021 Joel Sing <jsing@openbsd.org>
@@ -259,7 +259,7 @@ ssl_sigalg_for_legacy(SSL *s, EVP_PKEY *pkey)
#endif
}
SSLerror(s, SSL_R_UNKNOWN_PKEY_TYPE);
- return (NULL);
+ return NULL;
}
static int
@@ -344,11 +344,11 @@ ssl_sigalg_for_peer(SSL *s, EVP_PKEY *pkey, uint16_t sigalg_value)
if ((sigalg = ssl_sigalg_from_value(s, sigalg_value)) == NULL) {
SSLerror(s, SSL_R_UNKNOWN_DIGEST);
- return (NULL);
+ return NULL;
}
if (!ssl_sigalg_pkey_ok(s, sigalg, pkey)) {
SSLerror(s, SSL_R_WRONG_SIGNATURE_TYPE);
- return (NULL);
+ return NULL;
}
return sigalg;