diff options
author | 2014-07-10 22:13:39 +0000 | |
---|---|---|
committer | 2014-07-10 22:13:39 +0000 | |
commit | 1fb4a231665a2531ec465049c2dc7a029040982e (patch) | |
tree | 18826b84a8d48eebdf0547332ed38148e0490788 /lib/libssl/src | |
parent | Use size_t as realloc() size argument whenever possible. ok tedu@ (diff) | |
download | wireguard-openbsd-1fb4a231665a2531ec465049c2dc7a029040982e.tar.xz wireguard-openbsd-1fb4a231665a2531ec465049c2dc7a029040982e.zip |
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/libssl/src')
-rw-r--r-- | lib/libssl/src/crypto/cryptlib.c | 11 | ||||
-rw-r--r-- | lib/libssl/src/crypto/cryptlib.h | 4 |
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 } |