summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortb <>2023-11-21 22:17:15 +0000
committertb <>2023-11-21 22:17:15 +0000
commite0cb0cc3101efe1909900695f5d2d43fd01aa2fc (patch)
tree77386ecd08a500909585b96fa99103a0a60b6a8e /src
parentc042b8809ed9f55b9984a44a001c8d17d1be8f67 (diff)
downloadopenbsd-e0cb0cc3101efe1909900695f5d2d43fd01aa2fc.tar.gz
openbsd-e0cb0cc3101efe1909900695f5d2d43fd01aa2fc.tar.bz2
openbsd-e0cb0cc3101efe1909900695f5d2d43fd01aa2fc.zip
ec_print.c: Unwrap a line
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/ec/ec_print.c5
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