summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortb <>2023-11-27 11:52:32 +0000
committertb <>2023-11-27 11:52:32 +0000
commit70b516efb62240844392624d1d4274c429874381 (patch)
tree4846098f2a0529b96b4d3ea0847a69dd4df99e5d
parent5b076a3baf12ccef222fb93f6fbf223e1923f239 (diff)
downloadopenbsd-70b516efb62240844392624d1d4274c429874381.tar.gz
openbsd-70b516efb62240844392624d1d4274c429874381.tar.bz2
openbsd-70b516efb62240844392624d1d4274c429874381.zip
Remove silly parentheses
Diffstat (limited to '')
-rw-r--r--src/lib/libcrypto/objects/obj_dat.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/objects/obj_dat.c b/src/lib/libcrypto/objects/obj_dat.c
index 6cfbf8f773..f2a6515b27 100644
--- a/src/lib/libcrypto/objects/obj_dat.c
+++ b/src/lib/libcrypto/objects/obj_dat.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: obj_dat.c,v 1.61 2023/09/05 14:59:00 tb Exp $ */ 1/* $OpenBSD: obj_dat.c,v 1.62 2023/11/27 11:52:32 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 *
@@ -477,8 +477,8 @@ OBJ_txt2obj(const char *s, int no_name)
477 int nid; 477 int nid;
478 478
479 if (!no_name) { 479 if (!no_name) {
480 if (((nid = OBJ_sn2nid(s)) != NID_undef) || 480 if ((nid = OBJ_sn2nid(s)) != NID_undef ||
481 ((nid = OBJ_ln2nid(s)) != NID_undef) ) 481 (nid = OBJ_ln2nid(s)) != NID_undef)
482 return OBJ_nid2obj(nid); 482 return OBJ_nid2obj(nid);
483 } 483 }
484 484