summaryrefslogtreecommitdiff
path: root/lib/libcrypto/objects/obj_dat.c
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2023-12-14 18:32:50 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2023-12-14 18:32:50 +0000
commit70156a9396485cb1e052359a2c421b7a2d71b260 (patch)
tree0cb89f6ac65768ef7787d7c7b837455a8f2fb6a0 /lib/libcrypto/objects/obj_dat.c
parentd1666487978d6ba8c9ad40d30399599d896066f9 (diff)
OBJ_create: sorry Omar, aobj is a better name than op
Done.
Diffstat (limited to 'lib/libcrypto/objects/obj_dat.c')
-rw-r--r--lib/libcrypto/objects/obj_dat.c10
1 files changed, 5 insertions, 5 deletions
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;