diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/libcrypto/ec/ec_lib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/ec/ec_lib.c b/src/lib/libcrypto/ec/ec_lib.c index b5788492cc..00a4a703f8 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.64 2023/07/07 19:37:53 beck Exp $ */ | 1 | /* $OpenBSD: ec_lib.c,v 1.65 2023/07/25 06:57:26 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 | */ |
@@ -1062,7 +1062,7 @@ EC_POINT_is_on_curve(const EC_GROUP *group, const EC_POINT *point, | |||
1062 | BN_CTX *ctx_in) | 1062 | BN_CTX *ctx_in) |
1063 | { | 1063 | { |
1064 | BN_CTX *ctx; | 1064 | BN_CTX *ctx; |
1065 | int ret = 0; | 1065 | int ret = -1; |
1066 | 1066 | ||
1067 | if ((ctx = ctx_in) == NULL) | 1067 | if ((ctx = ctx_in) == NULL) |
1068 | ctx = BN_CTX_new(); | 1068 | ctx = BN_CTX_new(); |