summaryrefslogtreecommitdiffstats
path: root/util
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 /util
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 'util')
-rwxr-xr-xutil/mkerr.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/mkerr.pl b/util/mkerr.pl
index df085fb3db..dc652e0a0d 100755
--- a/util/mkerr.pl
+++ b/util/mkerr.pl
@@ -450,8 +450,8 @@ foreach my $lib ( keys %errorfile ) {
* https://www.openssl.org/source/license.html
*/
-#ifndef HEADER_${lib}ERR_H
-# define HEADER_${lib}ERR_H
+#ifndef OPENSSL_${lib}ERR_H
+# define OPENSSL_${lib}ERR_H
# include <openssl/symhacks.h>