summaryrefslogtreecommitdiffstats
path: root/test/ossl_shim/include
diff options
context:
space:
mode:
authorDr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>2019-09-27 23:58:12 +0200
committerDr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>2019-09-27 23:58:12 +0200
commitfbbfd128c9aa884216ace8c63be9071b3b690bee (patch)
tree8e898384b78a7bb26dcaba572eba6c4579e6e569 /test/ossl_shim/include
parentb5acbf914833a83368e51766de4cf2e2074a9436 (diff)
Fix header file include guard names
Make the include guards consistent by renaming them systematically according to the naming conventions below The public header files (in the 'include/openssl' directory) are not changed in 1.1.1, because it is a stable release. For the private header files files, the guard names try to match the path specified in the include directives, with all letters converted to upper case and '/' and '.' replaced by '_'. An extra 'OSSL_' is added as prefix. Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/9681)
Diffstat (limited to 'test/ossl_shim/include')
-rw-r--r--test/ossl_shim/include/openssl/base.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/ossl_shim/include/openssl/base.h b/test/ossl_shim/include/openssl/base.h
index f725cd9d45..a8d47b86ae 100644
--- a/test/ossl_shim/include/openssl/base.h
+++ b/test/ossl_shim/include/openssl/base.h
@@ -7,8 +7,8 @@
* https://www.openssl.org/source/license.html
*/
-#ifndef OPENSSL_HEADER_BASE_H
-#define OPENSSL_HEADER_BASE_H
+#ifndef OSSL_TEST_SHIM_INCLUDE_OPENSSL_BASE_H
+#define OSSL_TEST_SHIM_INCLUDE_OPENSSL_BASE_H
/* Needed for BORINGSSL_MAKE_DELETER */
# include <openssl/bio.h>
@@ -108,4 +108,4 @@ BORINGSSL_MAKE_DELETER(SSL_SESSION, SSL_SESSION_free)
} /* extern C++ */
-#endif /* OPENSSL_HEADER_BASE_H */
+#endif /* OSSL_TEST_SHIM_INCLUDE_OPENSSL_BASE_H */