summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2019-10-19 17:19:38 -0400
committerJeffrey Walton <noloader@gmail.com>2019-10-19 17:19:38 -0400
commit8fcf3667ec97874d56bdc8d2bfa1db465d2946fa (patch)
tree188673576f11de30099eb8043d967eb1bd42563c
parent179951a47da5309746ba48d8146a8421fed24e8b (diff)
downloadcryptopp-git-8fcf3667ec97874d56bdc8d2bfa1db465d2946fa.tar.gz
Whitespace check-in
-rwxr-xr-xGNUmakefile2
-rwxr-xr-xGNUmakefile-cross2
-rw-r--r--validat0.cpp4
3 files changed, 4 insertions, 4 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 49a52d75..c4d52a13 100755
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -408,7 +408,7 @@ ifeq ($(DETECT_FEATURES),1)
# Most Clang cannot handle mixed asm with positional arguments, where the
# body is Intel style with no prefix and the templates are AT&T style.
# Also see https://bugs.llvm.org/show_bug.cgi?id=39895 .
-
+
# CRYPTOPP_DISABLE_MIXED_ASM is now being added in config_asm.h for all
# Clang compilers. This test will need to be re-enabled if Clang fixes it.
#TPROG = TestPrograms/test_mixed_asm.cxx
diff --git a/GNUmakefile-cross b/GNUmakefile-cross
index e35959c0..8d1fb092 100755
--- a/GNUmakefile-cross
+++ b/GNUmakefile-cross
@@ -362,7 +362,7 @@ ifeq ($(DETECT_FEATURES),1)
# Most Clang cannot handle mixed asm with positional arguments, where the
# body is Intel style with no prefix and the templates are AT&T style.
# Also see https://bugs.llvm.org/show_bug.cgi?id=39895 .
-
+
# CRYPTOPP_DISABLE_MIXED_ASM is now being added in config_asm.h for all
# Clang compilers. This test will need to be re-enabled if Clang fixes it.
#TPROG = TestPrograms/test_mixed_asm.cxx
diff --git a/validat0.cpp b/validat0.cpp
index 8cb10b8a..f1e1c229 100644
--- a/validat0.cpp
+++ b/validat0.cpp
@@ -1262,11 +1262,11 @@ struct ASN1_TestTuple
}
const byte* Data() const {
- return reinterpret_cast<const byte*>(&m_data[0]);
+ return ConstBytePtr(m_data);
}
size_t Size() const {
- return m_data.size();
+ return BytePtrSize(m_data);
}
int Tag() const {