summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/libcrypto/ec/ec_oct.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/ec/ec_oct.c b/src/lib/libcrypto/ec/ec_oct.c
index f1b8bc5ffd..f9de2f13a1 100644
--- a/src/lib/libcrypto/ec/ec_oct.c
+++ b/src/lib/libcrypto/ec/ec_oct.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ec_oct.c,v 1.13 2023/05/01 21:15:26 tb Exp $ */ 1/* $OpenBSD: ec_oct.c,v 1.14 2023/05/04 06:45:51 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 */
@@ -113,7 +113,7 @@ EC_POINT_point2oct(const EC_GROUP *group, const EC_POINT *point,
113 BN_CTX *ctx_in) 113 BN_CTX *ctx_in)
114{ 114{
115 BN_CTX *ctx; 115 BN_CTX *ctx;
116 int ret = 0; 116 size_t ret = 0;
117 117
118 if ((ctx = ctx_in) == NULL) 118 if ((ctx = ctx_in) == NULL)
119 ctx = BN_CTX_new(); 119 ctx = BN_CTX_new();