diff options
author | Richard Levitte <levitte@openssl.org> | 2018-09-30 01:59:11 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2018-10-04 09:59:23 +0200 |
commit | 32451d8f861324697fc275593fbb830f80c1723b (patch) | |
tree | 8efa34f0c46aca7f2ce81affb54097800de843b5 /crypto | |
parent | 875ba8b21ecc65ad9a6bdc66971e50461660fcbb (diff) |
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 <yang.yang@baishancloud.com>
(Merged from https://github.com/openssl/openssl/pull/7331)
(cherry picked from commit 7e09c5eaa57295f87453286ffe25277c2f2bc73f)
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/bio/bss_log.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/bio/bss_log.c b/crypto/bio/bss_log.c index 4719a5e66a..f090e8214b 100644 --- a/crypto/bio/bss_log.c +++ b/crypto/bio/bss_log.c @@ -404,4 +404,9 @@ static void xcloselog(BIO *bp) # endif /* Unix */ +#else /* NO_SYSLOG */ +const BIO_METHOD *BIO_s_log(void) +{ + return NULL; +} #endif /* NO_SYSLOG */ |