diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2014-07-10 22:13:40 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2014-07-10 22:13:40 +0000 |
commit | c91dd69f085de982c70898116e3538397e189678 (patch) | |
tree | e64b5c267972c3e6c4a5b57a9e874c072215c485 /lib/libcrypto/cryptlib.c | |
parent | 3919904cbc2fb28dc9416ed061aa7cba81939c80 (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/libcrypto/cryptlib.c')
-rw-r--r-- | lib/libcrypto/cryptlib.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/lib/libcrypto/cryptlib.c b/lib/libcrypto/cryptlib.c index 86f51917e29..75d66d4ee98 100644 --- a/lib/libcrypto/cryptlib.c +++ b/lib/libcrypto/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) { |