summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortb <>2024-05-09 14:22:16 +0000
committertb <>2024-05-09 14:22:16 +0000
commitd34c548d5800925083879ebf7ad4cd4f3513eca5 (patch)
tree9d26819496e7391b06f4d77b767f2c7d7a7ef921 /src
parent3c613a01c3af9751e253c48c430ba1ad668fa6b2 (diff)
downloadopenbsd-d34c548d5800925083879ebf7ad4cd4f3513eca5.tar.gz
openbsd-d34c548d5800925083879ebf7ad4cd4f3513eca5.tar.bz2
openbsd-d34c548d5800925083879ebf7ad4cd4f3513eca5.zip
Zap some extra parentheses in X509_REQ_get_pubkey()
ok jsing
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/x509/x509_req.c8
1 files changed, 4 insertions, 4 deletions
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 @@
1/* $OpenBSD: x509_req.c,v 1.38 2024/05/09 14:20:57 tb Exp $ */ 1/* $OpenBSD: x509_req.c,v 1.39 2024/05/09 14:22:16 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 *
@@ -113,9 +113,9 @@ LCRYPTO_ALIAS(X509_to_X509_REQ);
113EVP_PKEY * 113EVP_PKEY *
114X509_REQ_get_pubkey(X509_REQ *req) 114X509_REQ_get_pubkey(X509_REQ *req)
115{ 115{
116 if ((req == NULL) || (req->req_info == NULL)) 116 if (req == NULL || req->req_info == NULL)
117 return (NULL); 117 return NULL;
118 return (X509_PUBKEY_get(req->req_info->pubkey)); 118 return X509_PUBKEY_get(req->req_info->pubkey);
119} 119}
120LCRYPTO_ALIAS(X509_REQ_get_pubkey); 120LCRYPTO_ALIAS(X509_REQ_get_pubkey);
121 121