From ee3f95b4025c8b7b71816169b6d63a3d1e8c060f Mon Sep 17 00:00:00 2001 From: tb <> Date: Thu, 6 Jul 2023 14:37:39 +0000 Subject: Add bn_printf(), a replacement for ASN1_bn_print() ASN1_bn_print() will be removed in an upcoming bump. This adds an internal API that covers the same functionality but doesn't require that the caller pass in a sufficiently large scratch space that ASN1_bn_print() may or may not use. In addition, this takes a format string, which allows us to ditch some extra dances. ok jsing --- src/lib/libcrypto/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/lib/libcrypto/Makefile') diff --git a/src/lib/libcrypto/Makefile b/src/lib/libcrypto/Makefile index 6e41dae162..f40ef656b7 100644 --- a/src/lib/libcrypto/Makefile +++ b/src/lib/libcrypto/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.135 2023/07/05 12:31:14 tb Exp $ +# $OpenBSD: Makefile,v 1.136 2023/07/06 14:37:39 tb Exp $ LIB= crypto LIBREBUILD=y @@ -195,6 +195,7 @@ SRCS+= bn_mont.c SRCS+= bn_mul.c SRCS+= bn_prime.c SRCS+= bn_primitives.c +SRCS+= bn_print.c SRCS+= bn_rand.c SRCS+= bn_recp.c SRCS+= bn_shift.c -- cgit v1.2.3-55-g6feb