diff options
Diffstat (limited to 'src/lib/libcrypto/ec/ec2_oct.c')
-rw-r--r-- | src/lib/libcrypto/ec/ec2_oct.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/ec/ec2_oct.c b/src/lib/libcrypto/ec/ec2_oct.c index 28eb7a01b6..ad38991471 100644 --- a/src/lib/libcrypto/ec/ec2_oct.c +++ b/src/lib/libcrypto/ec/ec2_oct.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ec2_oct.c,v 1.14 2021/04/20 17:16:37 tb Exp $ */ | 1 | /* $OpenBSD: ec2_oct.c,v 1.15 2021/04/20 17:32:57 tb Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright 2002 Sun Microsystems, Inc. ALL RIGHTS RESERVED. | 3 | * Copyright 2002 Sun Microsystems, Inc. ALL RIGHTS RESERVED. |
4 | * | 4 | * |
@@ -366,10 +366,10 @@ ec_GF2m_simple_oct2point(const EC_GROUP *group, EC_POINT *point, | |||
366 | } | 366 | } |
367 | if (form == POINT_CONVERSION_COMPRESSED) { | 367 | if (form == POINT_CONVERSION_COMPRESSED) { |
368 | /* | 368 | /* |
369 | * EC_POINT_set_compressed_coordinates_GF2m checks that the | 369 | * EC_POINT_set_compressed_coordinates checks that the |
370 | * point is on the curve as required by X9.62. | 370 | * point is on the curve as required by X9.62. |
371 | */ | 371 | */ |
372 | if (!EC_POINT_set_compressed_coordinates_GF2m(group, point, x, y_bit, ctx)) | 372 | if (!EC_POINT_set_compressed_coordinates(group, point, x, y_bit, ctx)) |
373 | goto err; | 373 | goto err; |
374 | } else { | 374 | } else { |
375 | if (!BN_bin2bn(buf + 1 + field_len, field_len, y)) | 375 | if (!BN_bin2bn(buf + 1 + field_len, field_len, y)) |