From bccd8f34fd0625e0ba24fcec5cdec580ca31aaea Mon Sep 17 00:00:00 2001 From: tb <> Date: Mon, 6 Jan 2025 14:25:10 +0000 Subject: More dest -> dst renaming missed in previous requested by jsing --- src/lib/libcrypto/ec/ec_lib.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/lib/libcrypto/ec/ec_lib.c b/src/lib/libcrypto/ec/ec_lib.c index 3202229fb6..f97144ea91 100644 --- a/src/lib/libcrypto/ec/ec_lib.c +++ b/src/lib/libcrypto/ec/ec_lib.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ec_lib.c,v 1.99 2025/01/06 14:24:12 tb Exp $ */ +/* $OpenBSD: ec_lib.c,v 1.100 2025/01/06 14:25:10 tb Exp $ */ /* * Originally written by Bodo Moeller for the OpenSSL project. */ @@ -832,22 +832,22 @@ EC_POINT_clear_free(EC_POINT *point) LCRYPTO_ALIAS(EC_POINT_clear_free); int -EC_POINT_copy(EC_POINT *dest, const EC_POINT *src) +EC_POINT_copy(EC_POINT *dst, const EC_POINT *src) { - if (dest->meth != src->meth) { + if (dst->meth != src->meth) { ECerror(EC_R_INCOMPATIBLE_OBJECTS); return 0; } - if (dest == src) + if (dst == src) return 1; - if (!bn_copy(dest->X, src->X)) + if (!bn_copy(dst->X, src->X)) return 0; - if (!bn_copy(dest->Y, src->Y)) + if (!bn_copy(dst->Y, src->Y)) return 0; - if (!bn_copy(dest->Z, src->Z)) + if (!bn_copy(dst->Z, src->Z)) return 0; - dest->Z_is_one = src->Z_is_one; + dst->Z_is_one = src->Z_is_one; return 1; } -- cgit v1.2.3-55-g6feb