diff options
-rw-r--r-- | src/lib/libcrypto/ec/ec_print.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/libcrypto/ec/ec_print.c b/src/lib/libcrypto/ec/ec_print.c index 312770f66c..fcd1570492 100644 --- a/src/lib/libcrypto/ec/ec_print.c +++ b/src/lib/libcrypto/ec/ec_print.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ec_print.c,v 1.13 2023/07/07 13:54:45 beck Exp $ */ | 1 | /* $OpenBSD: ec_print.c,v 1.14 2023/11/21 22:17:15 tb Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved. |
4 | * | 4 | * |
@@ -63,8 +63,7 @@ EC_POINT_point2bn(const EC_GROUP *group, const EC_POINT *point, | |||
63 | size_t buf_len = 0; | 63 | size_t buf_len = 0; |
64 | unsigned char *buf; | 64 | unsigned char *buf; |
65 | 65 | ||
66 | buf_len = EC_POINT_point2oct(group, point, form, | 66 | buf_len = EC_POINT_point2oct(group, point, form, NULL, 0, ctx); |
67 | NULL, 0, ctx); | ||
68 | if (buf_len == 0) | 67 | if (buf_len == 0) |
69 | return NULL; | 68 | return NULL; |
70 | 69 | ||