summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2021-11-05 17:11:29 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2021-11-05 17:11:29 +0000
commitfb2c5b536d4bc96f62f961928b26934d6788e545 (patch)
treebc7bba729f805702e06ca35fdcb3aef79bbf0395 /lib
parentd435f2dedda151378132b9c1a85ae3876651e1ac (diff)
Rename the ret variable in X509_OBJECT_new() to obj..
ok jsing
Diffstat (limited to 'lib')
-rw-r--r--lib/libcrypto/x509/x509_lu.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libcrypto/x509/x509_lu.c b/lib/libcrypto/x509/x509_lu.c
index 69e11f35cb0..0d4f4ad2ff1 100644
--- a/lib/libcrypto/x509/x509_lu.c
+++ b/lib/libcrypto/x509/x509_lu.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: x509_lu.c,v 1.43 2021/11/05 17:09:36 tb Exp $ */
+/* $OpenBSD: x509_lu.c,v 1.44 2021/11/05 17:11:28 tb Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -214,16 +214,16 @@ X509_STORE_new(void)
X509_OBJECT *
X509_OBJECT_new(void)
{
- X509_OBJECT *ret;
+ X509_OBJECT *obj;
- if ((ret = calloc(1, sizeof(*ret))) == NULL) {
+ if ((obj = calloc(1, sizeof(*obj))) == NULL) {
X509error(ERR_R_MALLOC_FAILURE);
return NULL;
}
- ret->type = X509_LU_NONE;
+ obj->type = X509_LU_NONE;
- return ret;
+ return obj;
}
void