Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(138)

Unified Diff: net/ssl/ssl_platform_key_android.cc

Issue 2400033005: Use BoringSSL scopers in //net. (Closed)
Patch Set: eroman comments Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/ssl/ssl_client_session_cache_unittest.cc ('k') | net/ssl/ssl_platform_key_chromecast.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/ssl/ssl_platform_key_android.cc
diff --git a/net/ssl/ssl_platform_key_android.cc b/net/ssl/ssl_platform_key_android.cc
index b4cc1a792c096cf246198999cc7b5ac330614db6..ef9df176399b5f9d4202e8667827a5260e1e48aa 100644
--- a/net/ssl/ssl_platform_key_android.cc
+++ b/net/ssl/ssl_platform_key_android.cc
@@ -5,6 +5,8 @@
#include "net/ssl/ssl_platform_key_android.h"
#include <openssl/ecdsa.h>
+#include <openssl/mem.h>
+#include <openssl/nid.h>
#include <openssl/rsa.h>
#include <strings.h>
@@ -18,7 +20,6 @@
#include "base/logging.h"
#include "base/macros.h"
#include "base/memory/ptr_util.h"
-#include "crypto/scoped_openssl_types.h"
#include "net/android/keystore.h"
#include "net/android/legacy_openssl.h"
#include "net/base/net_errors.h"
@@ -101,7 +102,7 @@ class SSLPlatformKeyAndroid : public ThreadedSSLPrivateKey::Delegate {
base::StringPiece input = input_in;
// Prepend the DigestInfo for RSA.
- crypto::ScopedOpenSSLBytes digest_info_storage;
+ bssl::UniquePtr<uint8_t> digest_info_storage;
if (type_ == SSLPrivateKey::Type::RSA) {
int hash_nid = NID_undef;
switch (hash) {
« no previous file with comments | « net/ssl/ssl_client_session_cache_unittest.cc ('k') | net/ssl/ssl_platform_key_chromecast.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698