diff options
author | Dr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com> | 2019-09-28 00:45:57 +0200 |
---|---|---|
committer | Dr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com> | 2019-09-28 20:26:36 +0200 |
commit | ae4186b00487762f581b2276ba83e5214e0e7ee1 (patch) | |
tree | 78787c492eea42ddde78a9423aa1b507ffee162a /crypto/bio | |
parent | 8c78f0ec63f3e16bac1b888dbabf2b6c2d53a1ae (diff) |
Fix header file include guard names
Make the include guards consistent by renaming them systematically according
to the naming conventions below
For the public header files (in the 'include/openssl' directory), the guard
names try to match the path specified in the include directives, with
all letters converted to upper case and '/' and '.' replaced by '_'. For the
private header files files, an extra 'OSSL_' is added as prefix.
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/9333)
Diffstat (limited to 'crypto/bio')
-rw-r--r-- | crypto/bio/bio_local.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/bio/bio_local.h b/crypto/bio/bio_local.h index 024120feae..30e56cba8d 100644 --- a/crypto/bio/bio_local.h +++ b/crypto/bio/bio_local.h @@ -27,10 +27,10 @@ * For clarity, we check for internal/cryptlib.h since it's a common header * that also includes bio.h. */ -# ifdef HEADER_CRYPTLIB_H +# ifdef OSSL_INTERNAL_CRYPTLIB_H # error internal/cryptlib.h included before bio_local.h # endif -# ifdef HEADER_BIO_H +# ifdef OPENSSL_BIO_H # error openssl/bio.h included before bio_local.h # endif |