From 8731d4920fa8b17374a442d62c2d8c1c6d34967a Mon Sep 17 00:00:00 2001 From: Jack Lloyd Date: Wed, 20 Sep 2017 02:53:08 -0400 Subject: Change header guard format to BOTAN_FOO_H_ ISO C++ reserves names with double underscores in them Closes #512 --- src/lib/modes/aead/aead.h | 4 ++-- src/lib/modes/aead/ccm/ccm.h | 4 ++-- src/lib/modes/aead/chacha20poly1305/chacha20poly1305.h | 4 ++-- src/lib/modes/aead/eax/eax.h | 4 ++-- src/lib/modes/aead/gcm/clmul/clmul.h | 4 ++-- src/lib/modes/aead/gcm/gcm.h | 4 ++-- src/lib/modes/aead/gcm/pmull/pmull.h | 4 ++-- src/lib/modes/aead/ocb/ocb.h | 4 ++-- src/lib/modes/aead/siv/siv.h | 4 ++-- src/lib/modes/cbc/cbc.h | 4 ++-- src/lib/modes/cfb/cfb.h | 4 ++-- src/lib/modes/cipher_mode.h | 4 ++-- src/lib/modes/mode_pad/mode_pad.h | 4 ++-- src/lib/modes/stream_mode.h | 4 ++-- src/lib/modes/xts/xts.h | 4 ++-- 15 files changed, 30 insertions(+), 30 deletions(-) (limited to 'src/lib/modes') diff --git a/src/lib/modes/aead/aead.h b/src/lib/modes/aead/aead.h index 95a595542..18bc339f1 100644 --- a/src/lib/modes/aead/aead.h +++ b/src/lib/modes/aead/aead.h @@ -5,8 +5,8 @@ * Botan is released under the Simplified BSD License (see license.txt) */ -#ifndef BOTAN_AEAD_MODE_H__ -#define BOTAN_AEAD_MODE_H__ +#ifndef BOTAN_AEAD_MODE_H_ +#define BOTAN_AEAD_MODE_H_ #include diff --git a/src/lib/modes/aead/ccm/ccm.h b/src/lib/modes/aead/ccm/ccm.h index 636df6fa7..38c0affe7 100644 --- a/src/lib/modes/aead/ccm/ccm.h +++ b/src/lib/modes/aead/ccm/ccm.h @@ -6,8 +6,8 @@ * Botan is released under the Simplified BSD License (see license.txt) */ -#ifndef BOTAN_AEAD_CCM_H__ -#define BOTAN_AEAD_CCM_H__ +#ifndef BOTAN_AEAD_CCM_H_ +#define BOTAN_AEAD_CCM_H_ #include #include diff --git a/src/lib/modes/aead/chacha20poly1305/chacha20poly1305.h b/src/lib/modes/aead/chacha20poly1305/chacha20poly1305.h index bbe21fdba..e12cfb115 100644 --- a/src/lib/modes/aead/chacha20poly1305/chacha20poly1305.h +++ b/src/lib/modes/aead/chacha20poly1305/chacha20poly1305.h @@ -6,8 +6,8 @@ * Botan is released under the Simplified BSD License (see license.txt) */ -#ifndef BOTAN_AEAD_CHACHA20_POLY1305_H__ -#define BOTAN_AEAD_CHACHA20_POLY1305_H__ +#ifndef BOTAN_AEAD_CHACHA20_POLY1305_H_ +#define BOTAN_AEAD_CHACHA20_POLY1305_H_ #include #include diff --git a/src/lib/modes/aead/eax/eax.h b/src/lib/modes/aead/eax/eax.h index 67679dcc2..84a4f3f92 100644 --- a/src/lib/modes/aead/eax/eax.h +++ b/src/lib/modes/aead/eax/eax.h @@ -6,8 +6,8 @@ * Botan is released under the Simplified BSD License (see license.txt) */ -#ifndef BOTAN_AEAD_EAX_H__ -#define BOTAN_AEAD_EAX_H__ +#ifndef BOTAN_AEAD_EAX_H_ +#define BOTAN_AEAD_EAX_H_ #include #include diff --git a/src/lib/modes/aead/gcm/clmul/clmul.h b/src/lib/modes/aead/gcm/clmul/clmul.h index 5e4a0de35..b47c73f27 100644 --- a/src/lib/modes/aead/gcm/clmul/clmul.h +++ b/src/lib/modes/aead/gcm/clmul/clmul.h @@ -5,8 +5,8 @@ * Botan is released under the Simplified BSD License (see license.txt) */ -#ifndef BOTAN_GCM_CLMUL_H__ -#define BOTAN_GCM_CLMUL_H__ +#ifndef BOTAN_GCM_CLMUL_H_ +#define BOTAN_GCM_CLMUL_H_ #include diff --git a/src/lib/modes/aead/gcm/gcm.h b/src/lib/modes/aead/gcm/gcm.h index 0326533ff..0c5edba45 100644 --- a/src/lib/modes/aead/gcm/gcm.h +++ b/src/lib/modes/aead/gcm/gcm.h @@ -6,8 +6,8 @@ * Botan is released under the Simplified BSD License (see license.txt) */ -#ifndef BOTAN_AEAD_GCM_H__ -#define BOTAN_AEAD_GCM_H__ +#ifndef BOTAN_AEAD_GCM_H_ +#define BOTAN_AEAD_GCM_H_ #include #include diff --git a/src/lib/modes/aead/gcm/pmull/pmull.h b/src/lib/modes/aead/gcm/pmull/pmull.h index 04afddfbf..4ddcc8f27 100644 --- a/src/lib/modes/aead/gcm/pmull/pmull.h +++ b/src/lib/modes/aead/gcm/pmull/pmull.h @@ -5,8 +5,8 @@ * Botan is released under the Simplified BSD License (see license.txt) */ -#ifndef BOTAN_GCM_PMULL_H__ -#define BOTAN_GCM_PMULL_H__ +#ifndef BOTAN_GCM_PMULL_H_ +#define BOTAN_GCM_PMULL_H_ #include diff --git a/src/lib/modes/aead/ocb/ocb.h b/src/lib/modes/aead/ocb/ocb.h index 4c06527ba..e53ee0867 100644 --- a/src/lib/modes/aead/ocb/ocb.h +++ b/src/lib/modes/aead/ocb/ocb.h @@ -6,8 +6,8 @@ * Botan is released under the Simplified BSD License (see license.txt) */ -#ifndef BOTAN_AEAD_OCB_H__ -#define BOTAN_AEAD_OCB_H__ +#ifndef BOTAN_AEAD_OCB_H_ +#define BOTAN_AEAD_OCB_H_ #include #include diff --git a/src/lib/modes/aead/siv/siv.h b/src/lib/modes/aead/siv/siv.h index 3266c6644..2f76847a8 100644 --- a/src/lib/modes/aead/siv/siv.h +++ b/src/lib/modes/aead/siv/siv.h @@ -6,8 +6,8 @@ * Botan is released under the Simplified BSD License (see license.txt) */ -#ifndef BOTAN_AEAD_SIV_H__ -#define BOTAN_AEAD_SIV_H__ +#ifndef BOTAN_AEAD_SIV_H_ +#define BOTAN_AEAD_SIV_H_ #include #include diff --git a/src/lib/modes/cbc/cbc.h b/src/lib/modes/cbc/cbc.h index f088b817b..65b639511 100644 --- a/src/lib/modes/cbc/cbc.h +++ b/src/lib/modes/cbc/cbc.h @@ -6,8 +6,8 @@ * Botan is released under the Simplified BSD License (see license.txt) */ -#ifndef BOTAN_MODE_CBC_H__ -#define BOTAN_MODE_CBC_H__ +#ifndef BOTAN_MODE_CBC_H_ +#define BOTAN_MODE_CBC_H_ #include #include diff --git a/src/lib/modes/cfb/cfb.h b/src/lib/modes/cfb/cfb.h index 14e4e3d0e..bb6d350b8 100644 --- a/src/lib/modes/cfb/cfb.h +++ b/src/lib/modes/cfb/cfb.h @@ -6,8 +6,8 @@ * Botan is released under the Simplified BSD License (see license.txt) */ -#ifndef BOTAN_MODE_CFB_H__ -#define BOTAN_MODE_CFB_H__ +#ifndef BOTAN_MODE_CFB_H_ +#define BOTAN_MODE_CFB_H_ #include #include diff --git a/src/lib/modes/cipher_mode.h b/src/lib/modes/cipher_mode.h index 80b77d5f8..7abfdac97 100644 --- a/src/lib/modes/cipher_mode.h +++ b/src/lib/modes/cipher_mode.h @@ -5,8 +5,8 @@ * Botan is released under the Simplified BSD License (see license.txt) */ -#ifndef BOTAN_CIPHER_MODE_H__ -#define BOTAN_CIPHER_MODE_H__ +#ifndef BOTAN_CIPHER_MODE_H_ +#define BOTAN_CIPHER_MODE_H_ #include #include diff --git a/src/lib/modes/mode_pad/mode_pad.h b/src/lib/modes/mode_pad/mode_pad.h index 7b54db985..4c539b181 100644 --- a/src/lib/modes/mode_pad/mode_pad.h +++ b/src/lib/modes/mode_pad/mode_pad.h @@ -6,8 +6,8 @@ * Botan is released under the Simplified BSD License (see license.txt) */ -#ifndef BOTAN_MODE_PADDING_H__ -#define BOTAN_MODE_PADDING_H__ +#ifndef BOTAN_MODE_PADDING_H_ +#define BOTAN_MODE_PADDING_H_ #include #include diff --git a/src/lib/modes/stream_mode.h b/src/lib/modes/stream_mode.h index bee740b3a..003a396fd 100644 --- a/src/lib/modes/stream_mode.h +++ b/src/lib/modes/stream_mode.h @@ -5,8 +5,8 @@ * Botan is released under the Simplified BSD License (see license.txt) */ -#ifndef BOTAN_STREAM_MODE_H__ -#define BOTAN_STREAM_MODE_H__ +#ifndef BOTAN_STREAM_MODE_H_ +#define BOTAN_STREAM_MODE_H_ #include #include diff --git a/src/lib/modes/xts/xts.h b/src/lib/modes/xts/xts.h index 2c19d7172..4b25a8294 100644 --- a/src/lib/modes/xts/xts.h +++ b/src/lib/modes/xts/xts.h @@ -6,8 +6,8 @@ * Botan is released under the Simplified BSD License (see license.txt) */ -#ifndef BOTAN_MODE_XTS_H__ -#define BOTAN_MODE_XTS_H__ +#ifndef BOTAN_MODE_XTS_H_ +#define BOTAN_MODE_XTS_H_ #include #include -- cgit v1.2.3