From: tb Date: Mon, 10 Apr 2023 14:10:26 +0000 (+0000) Subject: Make bn_to_string() static X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=c5b33e2f3bc338bc7592ef58ed9cd6e07456d0a1;p=openbsd Make bn_to_string() static This function is no longer used directly by regress, so it can now be local to this file. --- diff --git a/lib/libcrypto/x509/x509_utl.c b/lib/libcrypto/x509/x509_utl.c index ec67ae093cf..08151f16d58 100644 --- a/lib/libcrypto/x509/x509_utl.c +++ b/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 = "";