From c7b9178d5a8c834cd8e102e33b6f9d141a831860 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Tue, 29 Dec 2015 21:35:45 +0100 Subject: [PATCH] Consistent #include guards --- src/libsodium/crypto_pwhash/argon2/argon2-core.h | 4 ++-- src/libsodium/crypto_pwhash/argon2/argon2-encoding.h | 5 +++-- src/libsodium/crypto_pwhash/argon2/argon2-impl.h | 4 ++-- src/libsodium/crypto_pwhash/argon2/argon2.h | 4 ++-- src/libsodium/crypto_pwhash/argon2/blake2b-long.h | 4 ++-- src/libsodium/crypto_pwhash/argon2/blamka-round-ref.h | 4 ++-- src/libsodium/crypto_pwhash/argon2/blamka-round-ssse3.h | 4 ++-- 7 files changed, 15 insertions(+), 14 deletions(-) diff --git a/src/libsodium/crypto_pwhash/argon2/argon2-core.h b/src/libsodium/crypto_pwhash/argon2/argon2-core.h index 609c4730..924edd72 100644 --- a/src/libsodium/crypto_pwhash/argon2/argon2-core.h +++ b/src/libsodium/crypto_pwhash/argon2/argon2-core.h @@ -11,8 +11,8 @@ * . */ -#ifndef ARGON2_CORE_H -#define ARGON2_CORE_H +#ifndef argon2_core_H +#define argon2_core_H #include "argon2.h" diff --git a/src/libsodium/crypto_pwhash/argon2/argon2-encoding.h b/src/libsodium/crypto_pwhash/argon2/argon2-encoding.h index 0b3c0c7d..f1a1545a 100644 --- a/src/libsodium/crypto_pwhash/argon2/argon2-encoding.h +++ b/src/libsodium/crypto_pwhash/argon2/argon2-encoding.h @@ -1,5 +1,6 @@ -#ifndef ENCODING_H -#define ENCODING_H +#ifndef argon2_encoding_H +#define argon2_encoding_H + #include "argon2.h" int encode_string(char *dst, size_t dst_len, argon2_context *ctx, diff --git a/src/libsodium/crypto_pwhash/argon2/argon2-impl.h b/src/libsodium/crypto_pwhash/argon2/argon2-impl.h index 5141b86c..f3026ca1 100644 --- a/src/libsodium/crypto_pwhash/argon2/argon2-impl.h +++ b/src/libsodium/crypto_pwhash/argon2/argon2-impl.h @@ -11,8 +11,8 @@ this software. If not, see . */ -#ifndef blake2_impl_H -#define blake2_impl_H +#ifndef argon2_impl_H +#define argon2_impl_H #include #include diff --git a/src/libsodium/crypto_pwhash/argon2/argon2.h b/src/libsodium/crypto_pwhash/argon2/argon2.h index a7163030..c3913263 100644 --- a/src/libsodium/crypto_pwhash/argon2/argon2.h +++ b/src/libsodium/crypto_pwhash/argon2/argon2.h @@ -10,8 +10,8 @@ * this software. If not, see * . */ -#ifndef ARGON2_H -#define ARGON2_H +#ifndef argon2_H +#define argon2_H #include #include diff --git a/src/libsodium/crypto_pwhash/argon2/blake2b-long.h b/src/libsodium/crypto_pwhash/argon2/blake2b-long.h index 50e90b0b..3d6d7755 100644 --- a/src/libsodium/crypto_pwhash/argon2/blake2b-long.h +++ b/src/libsodium/crypto_pwhash/argon2/blake2b-long.h @@ -1,5 +1,5 @@ -#ifndef blake2_long_H -#define blake2_long_H +#ifndef blake2b_long_H +#define blake2b_long_H #include diff --git a/src/libsodium/crypto_pwhash/argon2/blamka-round-ref.h b/src/libsodium/crypto_pwhash/argon2/blamka-round-ref.h index fd4364fc..2ed2760c 100644 --- a/src/libsodium/crypto_pwhash/argon2/blamka-round-ref.h +++ b/src/libsodium/crypto_pwhash/argon2/blamka-round-ref.h @@ -1,5 +1,5 @@ -#ifndef BLAKE_ROUND_MKA_H -#define BLAKE_ROUND_MKA_H +#ifndef blamka_round_ref_H +#define blamka_round_ref_H #include "argon2-impl.h" diff --git a/src/libsodium/crypto_pwhash/argon2/blamka-round-ssse3.h b/src/libsodium/crypto_pwhash/argon2/blamka-round-ssse3.h index 821b8b19..07d158ec 100644 --- a/src/libsodium/crypto_pwhash/argon2/blamka-round-ssse3.h +++ b/src/libsodium/crypto_pwhash/argon2/blamka-round-ssse3.h @@ -1,5 +1,5 @@ -#ifndef BLAKE_ROUND_MKA_OPT_SSSE3_H -#define BLAKE_ROUND_MKA_OPT_SSSE3_H +#ifndef blamka_round_ssse3_H +#define blamka_round_ssse3_H #include "argon2-impl.h"