diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/libcrypto/ec/ec_lib.c | 16 |
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) | |||
| 832 | LCRYPTO_ALIAS(EC_POINT_clear_free); | 832 | LCRYPTO_ALIAS(EC_POINT_clear_free); |
| 833 | 833 | ||
| 834 | int | 834 | int |
| 835 | EC_POINT_copy(EC_POINT *dest, const EC_POINT *src) | 835 | EC_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 | } |
