From: tb Date: Thu, 14 Dec 2023 18:32:49 +0000 (+0000) Subject: OBJ_create: sorry Omar, aobj is a better name than op X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=874d382aa2d041867475372eb389cd3a8abd85ba;p=openbsd OBJ_create: sorry Omar, aobj is a better name than op Done. --- diff --git a/lib/libcrypto/objects/obj_dat.c b/lib/libcrypto/objects/obj_dat.c index eaa53509eba..a889e771e93 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.79 2023/12/14 18:31:03 tb Exp $ */ +/* $OpenBSD: obj_dat.c,v 1.80 2023/12/14 18:32:49 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -589,7 +589,7 @@ LCRYPTO_ALIAS(OBJ_create_objects); int OBJ_create(const char *oid, const char *sn, const char *ln) { - ASN1_OBJECT *op = NULL; + ASN1_OBJECT *aobj = NULL; unsigned char *buf = NULL; int len, nid; int ret = 0; @@ -606,13 +606,13 @@ OBJ_create(const char *oid, const char *sn, const char *ln) goto err; nid = OBJ_new_nid(1); - if ((op = ASN1_OBJECT_create(nid, buf, len, sn, ln)) == NULL) + if ((aobj = ASN1_OBJECT_create(nid, buf, len, sn, ln)) == NULL) goto err; - ret = OBJ_add_object(op); + ret = OBJ_add_object(aobj); err: - ASN1_OBJECT_free(op); + ASN1_OBJECT_free(aobj); free(buf); return ret;