Sync some code style improvements from the OpenSSL 1.1.1 branch,
authorschwarze <schwarze@openbsd.org>
Wed, 10 Nov 2021 09:19:25 +0000 (09:19 +0000)
committerschwarze <schwarze@openbsd.org>
Wed, 10 Nov 2021 09:19:25 +0000 (09:19 +0000)
commit256005ed974c25e4d6d2852b8b4d4d753240e3e6
treed74160518155ff83c1bcde8b9ee422add62b7005
parent83e5a18147a0725f08b86a472cf97c996e7f734c
Sync some code style improvements from the OpenSSL 1.1.1 branch,
which is still under a free license.  No functional change.

- No need to #include <openssl/lhash.h> here.
- return is not a function.
- Do not use the pointless macro BIO_s_file_internal().
- No need to check for NULL before X509_CRL_free(3).

This includes parts of the following OpenSSL commits from
the 2015 to 2017 timeframe: 222561fe9982cbbbf32b0abe26a7d938

OK tb@
lib/libcrypto/x509/by_file.c