diff options
| author | tb <> | 2024-10-14 12:38:11 +0000 |
|---|---|---|
| committer | tb <> | 2024-10-14 12:38:11 +0000 |
| commit | ac579c84c4c129270b4e4a72d60df3376866d5af (patch) | |
| tree | 49ed140f1dc6c8960a70f5de26632abd595d0d5f /src | |
| parent | 7eefcaf8708c5ed679ce0f405285b3f798b11f01 (diff) | |
| download | openbsd-ac579c84c4c129270b4e4a72d60df3376866d5af.tar.gz openbsd-ac579c84c4c129270b4e4a72d60df3376866d5af.tar.bz2 openbsd-ac579c84c4c129270b4e4a72d60df3376866d5af.zip | |
In ec_asn1_group2curve() rename ok to ret, per usual
ok jsing
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/libcrypto/ec/ec_asn1.c | 8 |
1 files 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 @@ | |||
| 1 | /* $OpenBSD: ec_asn1.c,v 1.68 2024/10/11 18:58:04 tb Exp $ */ | 1 | /* $OpenBSD: ec_asn1.c,v 1.69 2024/10/14 12:38:11 tb Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Written by Nils Larsch for the OpenSSL project. | 3 | * Written by Nils Larsch for the OpenSSL project. |
| 4 | */ | 4 | */ |
| @@ -609,7 +609,7 @@ ec_asn1_group2curve(const EC_GROUP *group, X9_62_CURVE *curve) | |||
| 609 | *b_buf = NULL; | 609 | *b_buf = NULL; |
| 610 | size_t len_1, len_2; | 610 | size_t len_1, len_2; |
| 611 | unsigned char char_zero = 0; | 611 | unsigned char char_zero = 0; |
| 612 | int ok = 0; | 612 | int ret = 0; |
| 613 | 613 | ||
| 614 | if (!group || !curve || !curve->a || !curve->b) | 614 | if (!group || !curve || !curve->a || !curve->b) |
| 615 | return 0; | 615 | return 0; |
| @@ -686,7 +686,7 @@ ec_asn1_group2curve(const EC_GROUP *group, X9_62_CURVE *curve) | |||
| 686 | } | 686 | } |
| 687 | } | 687 | } |
| 688 | 688 | ||
| 689 | ok = 1; | 689 | ret = 1; |
| 690 | 690 | ||
| 691 | err: | 691 | err: |
| 692 | free(buffer_1); | 692 | free(buffer_1); |
| @@ -694,7 +694,7 @@ ec_asn1_group2curve(const EC_GROUP *group, X9_62_CURVE *curve) | |||
| 694 | BN_free(a); | 694 | BN_free(a); |
| 695 | BN_free(b); | 695 | BN_free(b); |
| 696 | 696 | ||
| 697 | return (ok); | 697 | return ret; |
| 698 | } | 698 | } |
| 699 | 699 | ||
| 700 | static ECPARAMETERS * | 700 | static ECPARAMETERS * |
