From 774530f4121afdafa9b43632f8e7a4a68014278c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bodo=20M=C3=B6ller?= Date: Tue, 6 Mar 2001 08:55:33 +0000 Subject: [PATCH] 'is_at_infinity' tests don't need a BN_CTX. --- crypto/ec/ec.h | 2 +- crypto/ec/ec_lcl.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crypto/ec/ec.h b/crypto/ec/ec.h index 7fe1ba9899..55b174655e 100644 --- a/crypto/ec/ec.h +++ b/crypto/ec/ec.h @@ -129,7 +129,7 @@ int EC_POINT_oct2point(const EC_GROUP *, EC_POINT *, int EC_POINT_add(const EC_GROUP *, EC_POINT *r, const EC_POINT *a, const EC_POINT *b, BN_CTX *); int EC_POINT_dbl(const EC_GROUP *, EC_POINT *r, const EC_POINT *a, BN_CTX *); -int EC_POINT_is_at_infinity(const EC_GROUP *, EC_POINT *, BN_CTX *); +int EC_POINT_is_at_infinity(const EC_GROUP *, EC_POINT *); int EC_POINT_is_on_curve(const EC_GROUP *, EC_POINT *, BN_CTX *); int EC_POINT_make_affine(const EC_GROUP *, EC_POINT *, BN_CTX *); diff --git a/crypto/ec/ec_lcl.h b/crypto/ec/ec_lcl.h index 2f260fa715..a115aaf74f 100644 --- a/crypto/ec/ec_lcl.h +++ b/crypto/ec/ec_lcl.h @@ -96,7 +96,7 @@ struct ec_method_st { int (*dbl)(const EC_GROUP *, EC_POINT *r, const EC_POINT *a, BN_CTX *); /* used by EC_POINT_is_at_infinity, EC_POINT_is_on_curve, EC_POINT_make_affine */ - int (*is_at_infinity)(const EC_GROUP *, EC_POINT *, BN_CTX *); + int (*is_at_infinity)(const EC_GROUP *, EC_POINT *); int (*is_on_curve)(const EC_GROUP *, EC_POINT *, BN_CTX *); int (*make_affine)(const EC_GROUP *, EC_POINT *, BN_CTX *); -- GitLab