From 6babfb216137ab3e13c3219b45ac669a1f514901 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Sun, 30 Sep 2018 01:59:11 +0200 Subject: Small cleanup (util/mkdef.pl, crypto/bio/bss_log.c, include/openssl/ocsp.h) BIO_s_log() is declared for everyone, so should return NULL when not actually implemented. Also, it had explicit platform limitations in util/mkdef.pl that didn't correspond to what was actually in code. While at it, a few other hard coded things that have lost their relevance were removed. include/openssl/ocsp.h had a few duplicate declarations. Reviewed-by: Paul Yang (Merged from https://github.com/openssl/openssl/pull/7331) (cherry picked from commit 7e09c5eaa57295f87453286ffe25277c2f2bc73f) --- crypto/bio/bss_log.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'crypto/bio') diff --git a/crypto/bio/bss_log.c b/crypto/bio/bss_log.c index 4324f24126..e9ab932ec2 100644 --- a/crypto/bio/bss_log.c +++ b/crypto/bio/bss_log.c @@ -408,4 +408,9 @@ static void xcloselog(BIO *bp) # endif /* Unix */ +#else /* NO_SYSLOG */ +const BIO_METHOD *BIO_s_log(void) +{ + return NULL; +} #endif /* NO_SYSLOG */ -- cgit v1.2.3