summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2014-07-10 22:13:40 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2014-07-10 22:13:40 +0000
commit99b1adcb61806b0a6152aa1f9ddf8e9e2beba26b (patch)
tree05afecc78ba7d74ea5549a5f038cdaecd355b218 /lib
parent8fc26b8bb8290e101bae6dc280b2e608b5ee1d7b (diff)
OPENSSL_stderr() is unused so nuke it. OPENSSL_showfatal() is only used by
OpenSSLDie(), which is in the same file, so just make it static. ok miod@
Diffstat (limited to 'lib')
-rw-r--r--lib/libssl/src/crypto/cryptlib.c11
-rw-r--r--lib/libssl/src/crypto/cryptlib.h4
2 files changed, 3 insertions, 12 deletions
diff --git a/lib/libssl/src/crypto/cryptlib.c b/lib/libssl/src/crypto/cryptlib.c
index 86f51917e29..75d66d4ee98 100644
--- a/lib/libssl/src/crypto/cryptlib.c
+++ b/lib/libssl/src/crypto/cryptlib.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cryptlib.c,v 1.29 2014/07/10 20:02:58 jsing Exp $ */
+/* $OpenBSD: cryptlib.c,v 1.30 2014/07/10 22:13:39 jsing Exp $ */
/* ====================================================================
* Copyright (c) 1998-2006 The OpenSSL Project. All rights reserved.
*
@@ -688,8 +688,7 @@ OPENSSL_cpuid_setup(void)
}
#endif
-
-void
+static void
OPENSSL_showfatal(const char *fmta, ...)
{
va_list ap;
@@ -708,12 +707,6 @@ OpenSSLDie(const char *file, int line, const char *assertion)
abort();
}
-void *
-OPENSSL_stderr(void)
-{
- return stderr;
-}
-
int
CRYPTO_memcmp(const void *in_a, const void *in_b, size_t len)
{
diff --git a/lib/libssl/src/crypto/cryptlib.h b/lib/libssl/src/crypto/cryptlib.h
index ad669a27452..679af821c1e 100644
--- a/lib/libssl/src/crypto/cryptlib.h
+++ b/lib/libssl/src/crypto/cryptlib.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cryptlib.h,v 1.22 2014/07/10 20:42:45 jsing Exp $ */
+/* $OpenBSD: cryptlib.h,v 1.23 2014/07/10 22:13:39 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -78,8 +78,6 @@ extern "C" {
void OPENSSL_cpuid_setup(void);
extern unsigned int OPENSSL_ia32cap_P[];
-void OPENSSL_showfatal(const char *fmta,...);
-void *OPENSSL_stderr(void);
#ifdef __cplusplus
}