From 6344058935a30a2fabfbeb6372c498b0735639c4 Mon Sep 17 00:00:00 2001 From: tb Date: Mon, 27 Nov 2023 11:52:32 +0000 Subject: [PATCH] Remove silly parentheses --- lib/libcrypto/objects/obj_dat.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/libcrypto/objects/obj_dat.c b/lib/libcrypto/objects/obj_dat.c index 6cfbf8f7733..f2a6515b273 100644 --- a/lib/libcrypto/objects/obj_dat.c +++ b/lib/libcrypto/objects/obj_dat.c @@ -1,4 +1,4 @@ -/* $OpenBSD: obj_dat.c,v 1.61 2023/09/05 14:59:00 tb Exp $ */ +/* $OpenBSD: obj_dat.c,v 1.62 2023/11/27 11:52:32 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -477,8 +477,8 @@ OBJ_txt2obj(const char *s, int no_name) int nid; if (!no_name) { - if (((nid = OBJ_sn2nid(s)) != NID_undef) || - ((nid = OBJ_ln2nid(s)) != NID_undef) ) + if ((nid = OBJ_sn2nid(s)) != NID_undef || + (nid = OBJ_ln2nid(s)) != NID_undef) return OBJ_nid2obj(nid); } -- 2.20.1