diff options
author | Richard Levitte <levitte@openssl.org> | 2018-09-30 01:59:11 +0200 |
---|---|---|
committer | Richard Levitte <richard@levitte.org> | 2018-10-04 09:59:00 +0200 |
commit | 6babfb216137ab3e13c3219b45ac669a1f514901 (patch) | |
tree | b74bdc95180c730d5f2c75675b49643a26435f90 /crypto/bio | |
parent | acb03676c50edeace8732fc0ee3fc9d3277f7a77 (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/bio')
-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 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 */ |