diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2023-04-23 11:52:15 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2023-04-23 11:52:15 +0000 |
commit | 0d55971d9023d1aefc5608e7b2638d6f68d28e51 (patch) | |
tree | 7e0a9c62b7746e6b23b2dad5d71d21362b5f4c6c /lib | |
parent | c133888df6168cb795ff47dba339f8c825f4513a (diff) |
Drop some extra parentheses
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libcrypto/x509/x509_utl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libcrypto/x509/x509_utl.c b/lib/libcrypto/x509/x509_utl.c index 411b0408f9c..0cc5fb40685 100644 --- a/lib/libcrypto/x509/x509_utl.c +++ b/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; } |