summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2024-10-14 12:38:12 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2024-10-14 12:38:12 +0000
commitcdb579b16f08d57954d0f99b59dbc0daea9ed0ea (patch)
treec70dc12931231685d8b8e764a555962cd331068c /lib
parent4c62db931f942d8cb8e27c30ccbcac0e65c8e011 (diff)
In ec_asn1_group2curve() rename ok to ret, per usual
ok jsing
Diffstat (limited to 'lib')
-rw-r--r--lib/libcrypto/ec/ec_asn1.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libcrypto/ec/ec_asn1.c b/lib/libcrypto/ec/ec_asn1.c
index 865934ccf0a..5a38063d9f9 100644
--- a/lib/libcrypto/ec/ec_asn1.c
+++ b/lib/libcrypto/ec/ec_asn1.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ec_asn1.c,v 1.68 2024/10/11 18:58:04 tb Exp $ */
+/* $OpenBSD: ec_asn1.c,v 1.69 2024/10/14 12:38:11 tb Exp $ */
/*
* Written by Nils Larsch for the OpenSSL project.
*/
@@ -609,7 +609,7 @@ ec_asn1_group2curve(const EC_GROUP *group, X9_62_CURVE *curve)
*b_buf = NULL;
size_t len_1, len_2;
unsigned char char_zero = 0;
- int ok = 0;
+ int ret = 0;
if (!group || !curve || !curve->a || !curve->b)
return 0;
@@ -686,7 +686,7 @@ ec_asn1_group2curve(const EC_GROUP *group, X9_62_CURVE *curve)
}
}
- ok = 1;
+ ret = 1;
err:
free(buffer_1);
@@ -694,7 +694,7 @@ ec_asn1_group2curve(const EC_GROUP *group, X9_62_CURVE *curve)
BN_free(a);
BN_free(b);
- return (ok);
+ return ret;
}
static ECPARAMETERS *