From fa02f32a30ed74321ed3cbae490733b1665e329c Mon Sep 17 00:00:00 2001 From: tb <> Date: Sun, 23 Apr 2023 11:52:14 +0000 Subject: Drop some extra parentheses --- src/lib/libcrypto/x509/x509_utl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/libcrypto/x509/x509_utl.c') 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 @@ -/* $OpenBSD: x509_utl.c,v 1.13 2023/04/23 11:39:56 tb Exp $ */ +/* $OpenBSD: x509_utl.c,v 1.14 2023/04/23 11:52:14 tb Exp $ */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project. */ @@ -257,7 +257,7 @@ s2i_ASN1_INTEGER(X509V3_EXT_METHOD *method, const char *value) isneg = 1; } - if (value[0] == '0' && ((value[1] == 'x') || (value[1] == 'X'))) { + if (value[0] == '0' && (value[1] == 'x' || value[1] == 'X')) { value += 2; ishex = 1; } -- cgit v1.2.3-55-g6feb