From 2fd67c35cd7f800ca7bb303473e0a6bb206972a1 Mon Sep 17 00:00:00 2001 From: tb <> Date: Mon, 10 Apr 2023 14:10:26 +0000 Subject: Make bn_to_string() static This function is no longer used directly by regress, so it can now be local to this file. --- src/lib/libcrypto/x509/x509_utl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/lib') diff --git a/src/lib/libcrypto/x509/x509_utl.c b/src/lib/libcrypto/x509/x509_utl.c index ec67ae093c..08151f16d5 100644 --- a/src/lib/libcrypto/x509/x509_utl.c +++ b/src/lib/libcrypto/x509/x509_utl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: x509_utl.c,v 1.6 2023/02/16 08:38:17 tb Exp $ */ +/* $OpenBSD: x509_utl.c,v 1.7 2023/04/10 14:10:26 tb Exp $ */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project. */ @@ -66,7 +66,7 @@ #include #include -char *bn_to_string(const BIGNUM *bn); +static char *bn_to_string(const BIGNUM *bn); static char *strip_spaces(char *name); static int sk_strcmp(const char * const *a, const char * const *b); static STACK_OF(OPENSSL_STRING) *get_email(X509_NAME *name, @@ -161,7 +161,7 @@ X509V3_add_value_bool_nf(const char *name, int asn1_bool, } LCRYPTO_ALIAS(X509V3_add_value_bool_nf); -char * +static char * bn_to_string(const BIGNUM *bn) { const char *sign = ""; -- cgit v1.2.3-55-g6feb