diff options
author | David Benjamin <davidben@chromium.org> | 2015-03-22 23:31:27 +0300 |
---|---|---|
committer | Adam Langley <agl@google.com> | 2015-04-01 02:03:06 +0300 |
commit | 45fb1be33e6194aa8c7c414416b6cc657df660f4 (patch) | |
tree | 123fb9e3b596007259be2eef0febc18b9182c2ec /tool | |
parent | d7c5dfb233bfc0e5666efd343329fa94a3668818 (diff) |
Remove std::unique_ptr dependency on bssl_shim's scoped types.
This is in preparation for using RAII in the unit tests. Those tests are built
in Chromium as well, but Chromium does not have C++11 library support across
all its toolchains. Compiler support is available, so add a partial
reimplementation of std::unique_ptr and std::move under crypto/test/. The
scopers for the crypto/ library are also moved there while the ones for ssl/
stay in ssl/test/.
Change-Id: I38f769acbc16a870db34649928575c7314b6e9f6
Reviewed-on: https://boringssl-review.googlesource.com/4120
Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'tool')
-rw-r--r-- | tool/client.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tool/client.cc b/tool/client.cc index 15592c4b..f2784786 100644 --- a/tool/client.cc +++ b/tool/client.cc @@ -25,6 +25,7 @@ #include <openssl/pem.h> #include <openssl/ssl.h> +#include "../crypto/test/scoped_types.h" #include "../ssl/test/scoped_types.h" #include "internal.h" #include "transport_common.h" |