diff options
Diffstat (limited to '')
-rw-r--r-- | src/lib/libcrypto/objects/obj_dat.c | 6 |
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 | ||