summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortb <>2025-01-06 14:25:10 +0000
committertb <>2025-01-06 14:25:10 +0000
commitbccd8f34fd0625e0ba24fcec5cdec580ca31aaea (patch)
tree6b622ae2e982668f685d67867cebea27f4e6cbef
parent50585e6d932120670642757ce7f6b9deabb50629 (diff)
downloadopenbsd-bccd8f34fd0625e0ba24fcec5cdec580ca31aaea.tar.gz
openbsd-bccd8f34fd0625e0ba24fcec5cdec580ca31aaea.tar.bz2
openbsd-bccd8f34fd0625e0ba24fcec5cdec580ca31aaea.zip
More dest -> dst renaming missed in previous
requested by jsing
-rw-r--r--src/lib/libcrypto/ec/ec_lib.c16
1 files 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 @@
1/* $OpenBSD: ec_lib.c,v 1.99 2025/01/06 14:24:12 tb Exp $ */ 1/* $OpenBSD: ec_lib.c,v 1.100 2025/01/06 14:25:10 tb Exp $ */
2/* 2/*
3 * Originally written by Bodo Moeller for the OpenSSL project. 3 * Originally written by Bodo Moeller for the OpenSSL project.
4 */ 4 */
@@ -832,22 +832,22 @@ EC_POINT_clear_free(EC_POINT *point)
832LCRYPTO_ALIAS(EC_POINT_clear_free); 832LCRYPTO_ALIAS(EC_POINT_clear_free);
833 833
834int 834int
835EC_POINT_copy(EC_POINT *dest, const EC_POINT *src) 835EC_POINT_copy(EC_POINT *dst, const EC_POINT *src)
836{ 836{
837 if (dest->meth != src->meth) { 837 if (dst->meth != src->meth) {
838 ECerror(EC_R_INCOMPATIBLE_OBJECTS); 838 ECerror(EC_R_INCOMPATIBLE_OBJECTS);
839 return 0; 839 return 0;
840 } 840 }
841 if (dest == src) 841 if (dst == src)
842 return 1; 842 return 1;
843 843
844 if (!bn_copy(dest->X, src->X)) 844 if (!bn_copy(dst->X, src->X))
845 return 0; 845 return 0;
846 if (!bn_copy(dest->Y, src->Y)) 846 if (!bn_copy(dst->Y, src->Y))
847 return 0; 847 return 0;
848 if (!bn_copy(dest->Z, src->Z)) 848 if (!bn_copy(dst->Z, src->Z))
849 return 0; 849 return 0;
850 dest->Z_is_one = src->Z_is_one; 850 dst->Z_is_one = src->Z_is_one;
851 851
852 return 1; 852 return 1;
853} 853}