From 4c8f95359216e412daff1a7328a0d7ca9d7e246b Mon Sep 17 00:00:00 2001 From: tb <> Date: Thu, 17 Aug 2023 09:24:50 +0000 Subject: Remove some parents from return statements --- src/lib/libcrypto/objects/obj_dat.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/lib') diff --git a/src/lib/libcrypto/objects/obj_dat.c b/src/lib/libcrypto/objects/obj_dat.c index 1e7258f748..8ebedafe35 100644 --- a/src/lib/libcrypto/objects/obj_dat.c +++ b/src/lib/libcrypto/objects/obj_dat.c @@ -1,4 +1,4 @@ -/* $OpenBSD: obj_dat.c,v 1.56 2023/08/17 09:22:56 tb Exp $ */ +/* $OpenBSD: obj_dat.c,v 1.57 2023/08/17 09:24:50 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -191,20 +191,20 @@ added_obj_cmp(const ADDED_OBJ *ca, const ADDED_OBJ *cb) return OBJ_cmp(a, b); case ADDED_SNAME: if (a->sn == NULL) - return (-1); + return -1; else if (b->sn == NULL) - return (1); + return 1; else - return (strcmp(a->sn, b->sn)); + return strcmp(a->sn, b->sn); case ADDED_LNAME: if (a->ln == NULL) - return (-1); + return -1; else if (b->ln == NULL) - return (1); + return 1; else - return (strcmp(a->ln, b->ln)); + return strcmp(a->ln, b->ln); case ADDED_NID: - return (a->nid - b->nid); + return a->nid - b->nid; default: /* abort(); */ return 0; -- cgit v1.2.3-55-g6feb