From 312ef43ec8326eb44dbe8ead7ce1830cfdf3a100 Mon Sep 17 00:00:00 2001 From: tb <> Date: Mon, 14 Oct 2024 12:38:11 +0000 Subject: In ec_asn1_group2curve() rename ok to ret, per usual ok jsing --- src/lib/libcrypto/ec/ec_asn1.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib/libcrypto/ec/ec_asn1.c b/src/lib/libcrypto/ec/ec_asn1.c index 865934ccf0..5a38063d9f 100644 --- a/src/lib/libcrypto/ec/ec_asn1.c +++ b/src/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 * -- cgit v1.2.3-55-g6feb