artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c7aa8f
)
EC_POINT_is_on_curve() error is -1, not 0.
author
tb
<tb@openbsd.org>
Tue, 25 Jul 2023 06:57:26 +0000
(06:57 +0000)
committer
tb
<tb@openbsd.org>
Tue, 25 Jul 2023 06:57:26 +0000
(06:57 +0000)
ok miod
lib/libcrypto/ec/ec_lib.c
patch
|
blob
|
history
diff --git
a/lib/libcrypto/ec/ec_lib.c
b/lib/libcrypto/ec/ec_lib.c
index
b578849
..
00a4a70
100644
(file)
--- a/
lib/libcrypto/ec/ec_lib.c
+++ b/
lib/libcrypto/ec/ec_lib.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: ec_lib.c,v 1.6
4 2023/07/07 19:37:53 beck
Exp $ */
+/* $OpenBSD: ec_lib.c,v 1.6
5 2023/07/25 06:57:26 tb
Exp $ */
/*
* Originally written by Bodo Moeller for the OpenSSL project.
*/
@@
-1062,7
+1062,7
@@
EC_POINT_is_on_curve(const EC_GROUP *group, const EC_POINT *point,
BN_CTX *ctx_in)
{
BN_CTX *ctx;
- int ret =
0
;
+ int ret =
-1
;
if ((ctx = ctx_in) == NULL)
ctx = BN_CTX_new();