From d34c548d5800925083879ebf7ad4cd4f3513eca5 Mon Sep 17 00:00:00 2001 From: tb <> Date: Thu, 9 May 2024 14:22:16 +0000 Subject: Zap some extra parentheses in X509_REQ_get_pubkey() ok jsing --- src/lib/libcrypto/x509/x509_req.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/lib/libcrypto/x509/x509_req.c b/src/lib/libcrypto/x509/x509_req.c index 119e25b32b..06d445f18c 100644 --- a/src/lib/libcrypto/x509/x509_req.c +++ b/src/lib/libcrypto/x509/x509_req.c @@ -1,4 +1,4 @@ -/* $OpenBSD: x509_req.c,v 1.38 2024/05/09 14:20:57 tb Exp $ */ +/* $OpenBSD: x509_req.c,v 1.39 2024/05/09 14:22:16 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -113,9 +113,9 @@ LCRYPTO_ALIAS(X509_to_X509_REQ); EVP_PKEY * X509_REQ_get_pubkey(X509_REQ *req) { - if ((req == NULL) || (req->req_info == NULL)) - return (NULL); - return (X509_PUBKEY_get(req->req_info->pubkey)); + if (req == NULL || req->req_info == NULL) + return NULL; + return X509_PUBKEY_get(req->req_info->pubkey); } LCRYPTO_ALIAS(X509_REQ_get_pubkey); -- cgit v1.2.3-55-g6feb