Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/boringssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Langley <agl@google.com>2016-07-12 18:03:59 +0300
committerAdam Langley <agl@google.com>2016-07-12 18:05:38 +0300
commitd2b5af56cf2a8b4695821b2ff64a7bfc82f3ba5e (patch)
tree63062f50f629f12ec8a9aab1ea18c894e6c0303a /include/openssl/mem.h
parenta125f048c266d8630bc558c3c1315d4fe72664b2 (diff)
Revert scoped_types.h change.
This reverts commits: 8d79ed67407e433d80ebc8d3aa080e8ce16e6eb7 19fdcb523402ed13ab798cf811fb0119e3e7b104 8d79ed67407e433d80ebc8d3aa080e8ce16e6eb7 Because WebRTC (at least) includes our headers in an extern "C" block, which precludes having any C++ in them. Change-Id: Ia849f43795a40034cbd45b22ea680b51aab28b2d
Diffstat (limited to 'include/openssl/mem.h')
-rw-r--r--include/openssl/mem.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/openssl/mem.h b/include/openssl/mem.h
index 172198df..d7737526 100644
--- a/include/openssl/mem.h
+++ b/include/openssl/mem.h
@@ -134,8 +134,6 @@ OPENSSL_EXPORT int BIO_vsnprintf(char *buf, size_t n, const char *format,
#if defined(__cplusplus)
} /* extern C */
-#if defined(BORINGSSL_HAVE_CXX11)
-
namespace bssl {
template<typename T>
@@ -145,13 +143,8 @@ struct Free {
}
};
-using ScopedBytes = std::unique_ptr<uint8_t, Free<uint8_t>>;
-using ScopedString = std::unique_ptr<char, Free<char>>;
-
} // namespace bssl
#endif
-#endif
-
#endif /* OPENSSL_HEADER_MEM_H */