summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-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;