diff options
author | jsing <> | 2023-04-14 11:10:11 +0000 |
---|---|---|
committer | jsing <> | 2023-04-14 11:10:11 +0000 |
commit | addc99b7cf477bb15e2929ce35c59aee13598588 (patch) | |
tree | 1c1b0bfbca1c02e762f6dcd19ddf4f14c9ae726d /src | |
parent | 6f526230f296603cd753cd19889d3decae20a3aa (diff) | |
download | openbsd-addc99b7cf477bb15e2929ce35c59aee13598588.tar.gz openbsd-addc99b7cf477bb15e2929ce35c59aee13598588.tar.bz2 openbsd-addc99b7cf477bb15e2929ce35c59aee13598588.zip |
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@
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libcrypto/Makefile | 4 | ||||
-rw-r--r-- | src/lib/libcrypto/bn/bn_convert.c (renamed from src/lib/libcrypto/bn/bn_print.c) | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/Makefile b/src/lib/libcrypto/Makefile index 2dc31be688..726f23aecc 100644 --- a/src/lib/libcrypto/Makefile +++ b/src/lib/libcrypto/Makefile | |||
@@ -1,4 +1,4 @@ | |||
1 | # $OpenBSD: Makefile,v 1.102 2023/04/13 15:01:18 tb Exp $ | 1 | # $OpenBSD: Makefile,v 1.103 2023/04/14 11:10:11 jsing Exp $ |
2 | 2 | ||
3 | LIB= crypto | 3 | LIB= crypto |
4 | LIBREBUILD=y | 4 | LIBREBUILD=y |
@@ -181,6 +181,7 @@ SRCS+= bn_add.c | |||
181 | SRCS+= bn_blind.c | 181 | SRCS+= bn_blind.c |
182 | SRCS+= bn_bpsw.c | 182 | SRCS+= bn_bpsw.c |
183 | SRCS+= bn_const.c | 183 | SRCS+= bn_const.c |
184 | SRCS+= bn_convert.c | ||
184 | SRCS+= bn_ctx.c | 185 | SRCS+= bn_ctx.c |
185 | SRCS+= bn_div.c | 186 | SRCS+= bn_div.c |
186 | SRCS+= bn_err.c | 187 | SRCS+= bn_err.c |
@@ -197,7 +198,6 @@ SRCS+= bn_mpi.c | |||
197 | SRCS+= bn_mul.c | 198 | SRCS+= bn_mul.c |
198 | SRCS+= bn_nist.c | 199 | SRCS+= bn_nist.c |
199 | SRCS+= bn_prime.c | 200 | SRCS+= bn_prime.c |
200 | SRCS+= bn_print.c | ||
201 | SRCS+= bn_rand.c | 201 | SRCS+= bn_rand.c |
202 | SRCS+= bn_recp.c | 202 | SRCS+= bn_recp.c |
203 | SRCS+= bn_shift.c | 203 | SRCS+= bn_shift.c |
diff --git a/src/lib/libcrypto/bn/bn_print.c b/src/lib/libcrypto/bn/bn_convert.c index 7e0683b679..2d15b29893 100644 --- a/src/lib/libcrypto/bn/bn_print.c +++ b/src/lib/libcrypto/bn/bn_convert.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bn_print.c,v 1.38 2023/02/13 04:25:37 jsing Exp $ */ | 1 | /* $OpenBSD: bn_convert.c,v 1.1 2023/04/14 11:10:11 jsing Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |