diff options
author | Adam Langley <agl@google.com> | 2016-07-12 00:07:19 +0300 |
---|---|---|
committer | David Benjamin <davidben@google.com> | 2016-07-12 02:04:52 +0300 |
commit | 09feb0f3d95a2bc58ce0faaf14256d3bd30f52a4 (patch) | |
tree | c5d03846c2bffc42b9ab9bd6b6e30e044d7962b6 /tool/const.cc | |
parent | 09eb655e5cb202878b831eadb30c92ab24960d4a (diff) |
Move C++ helpers into |bssl| namespace.
We currently have the situation where the |tool| and |bssl_shim| code
includes scoped_types.h from crypto/test and ssl/test. That's weird and
shouldn't happen. Also, our C++ consumers might quite like to have
access to the scoped types.
Thus this change moves some of the template code to base.h and puts it
all in a |bssl| namespace to prepare for scattering these types into
their respective headers. In order that all the existing test code be
able to access these types, it's all moved into the same namespace.
Change-Id: I3207e29474dc5fcc344ace43119df26dae04eabb
Reviewed-on: https://boringssl-review.googlesource.com/8730
Reviewed-by: David Benjamin <davidben@google.com>
Diffstat (limited to 'tool/const.cc')
-rw-r--r-- | tool/const.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tool/const.cc b/tool/const.cc index 7b7001e5..553e2d9f 100644 --- a/tool/const.cc +++ b/tool/const.cc @@ -18,6 +18,8 @@ #include "internal.h" +namespace bssl { + const uint8_t kDERRSAPrivate2048[] = { 0x30, 0x82, 0x04, 0xa3, 0x02, 0x01, 0x00, 0x02, 0x82, 0x01, 0x01, 0x00, 0xd0, 0x02, 0xde, 0x5d, 0x19, 0x33, 0x48, 0x15, 0xc7, 0x86, 0xde, 0xa3, @@ -432,3 +434,5 @@ const uint8_t kDERRSAPrivate3Prime2048[] = { }; const size_t kDERRSAPrivate3Prime2048Len = sizeof(kDERRSAPrivate3Prime2048); + +} // namespace bssl |