summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authortb <>2023-04-23 11:52:14 +0000
committertb <>2023-04-23 11:52:14 +0000
commitfa02f32a30ed74321ed3cbae490733b1665e329c (patch)
tree38979fd074aa6121bb11418f45ec12b9a7eed49b /src/lib
parent9748cde356caac3aa94b7096522157c10a31e976 (diff)
downloadopenbsd-fa02f32a30ed74321ed3cbae490733b1665e329c.tar.gz
openbsd-fa02f32a30ed74321ed3cbae490733b1665e329c.tar.bz2
openbsd-fa02f32a30ed74321ed3cbae490733b1665e329c.zip
Drop some extra parentheses
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libcrypto/x509/x509_utl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/x509/x509_utl.c b/src/lib/libcrypto/x509/x509_utl.c
index 411b0408f9..0cc5fb4068 100644
--- a/src/lib/libcrypto/x509/x509_utl.c
+++ b/src/lib/libcrypto/x509/x509_utl.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: x509_utl.c,v 1.13 2023/04/23 11:39:56 tb Exp $ */ 1/* $OpenBSD: x509_utl.c,v 1.14 2023/04/23 11:52:14 tb Exp $ */
2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL 2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
3 * project. 3 * project.
4 */ 4 */
@@ -257,7 +257,7 @@ s2i_ASN1_INTEGER(X509V3_EXT_METHOD *method, const char *value)
257 isneg = 1; 257 isneg = 1;
258 } 258 }
259 259
260 if (value[0] == '0' && ((value[1] == 'x') || (value[1] == 'X'))) { 260 if (value[0] == '0' && (value[1] == 'x' || value[1] == 'X')) {
261 value += 2; 261 value += 2;
262 ishex = 1; 262 ishex = 1;
263 } 263 }