summaryrefslogtreecommitdiff
path: root/lib/libcrypto/objects/obj_dat.c
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2023-11-27 11:52:33 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2023-11-27 11:52:33 +0000
commitc884bebc5b527d3893add98de97773dfef383980 (patch)
treec1c436eb1f891859ef0cbdc821924f25a80a3c07 /lib/libcrypto/objects/obj_dat.c
parent73bf8e9f380d73208f98d42d6641a18a39c8d522 (diff)
Remove silly parentheses
Diffstat (limited to 'lib/libcrypto/objects/obj_dat.c')
-rw-r--r--lib/libcrypto/objects/obj_dat.c6
1 files 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);
}