summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2023-04-10 14:10:27 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2023-04-10 14:10:27 +0000
commitfc72ac72bb78622e1c7348080615c8b7df8f120d (patch)
tree96d1ceb0b3c3f8ecd213b0ddbfa349bbc5b77df0
parent07ef2841336961f60d2cf5487ade1b8cd460fd9b (diff)
Make bn_to_string() static
This function is no longer used directly by regress, so it can now be local to this file.
-rw-r--r--lib/libcrypto/x509/x509_utl.c6
1 files changed, 3 insertions, 3 deletions
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 <openssl/err.h>
#include <openssl/x509v3.h>
-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 = "";