From 0f50028194e88c178d8a6a43dd2fac0f72eb484f Mon Sep 17 00:00:00 2001 From: jsing Date: Fri, 14 Apr 2023 11:10:11 +0000 Subject: [PATCH] Rename the largely misnamed bn_print.c to bn_convert.c This file primarily contains the various BN_bn2*() and BN_*2bn() functions (along with BN_print() and BN_options()). More function shuffling will follow. Discussed with tb@ --- lib/libcrypto/Makefile | 4 ++-- lib/libcrypto/bn/{bn_print.c => bn_convert.c} | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename lib/libcrypto/bn/{bn_print.c => bn_convert.c} (99%) diff --git a/lib/libcrypto/Makefile b/lib/libcrypto/Makefile index 2dc31be6880..726f23aecc1 100644 --- a/lib/libcrypto/Makefile +++ b/lib/libcrypto/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.102 2023/04/13 15:01:18 tb Exp $ +# $OpenBSD: Makefile,v 1.103 2023/04/14 11:10:11 jsing Exp $ LIB= crypto LIBREBUILD=y @@ -181,6 +181,7 @@ SRCS+= bn_add.c SRCS+= bn_blind.c SRCS+= bn_bpsw.c SRCS+= bn_const.c +SRCS+= bn_convert.c SRCS+= bn_ctx.c SRCS+= bn_div.c SRCS+= bn_err.c @@ -197,7 +198,6 @@ SRCS+= bn_mpi.c SRCS+= bn_mul.c SRCS+= bn_nist.c SRCS+= bn_prime.c -SRCS+= bn_print.c SRCS+= bn_rand.c SRCS+= bn_recp.c SRCS+= bn_shift.c diff --git a/lib/libcrypto/bn/bn_print.c b/lib/libcrypto/bn/bn_convert.c similarity index 99% rename from lib/libcrypto/bn/bn_print.c rename to lib/libcrypto/bn/bn_convert.c index 7e0683b6792..2d15b298938 100644 --- a/lib/libcrypto/bn/bn_print.c +++ b/lib/libcrypto/bn/bn_convert.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bn_print.c,v 1.38 2023/02/13 04:25:37 jsing Exp $ */ +/* $OpenBSD: bn_convert.c,v 1.1 2023/04/14 11:10:11 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * -- 2.20.1