| Index: net/ssl/openssl_platform_key_win.cc
|
| diff --git a/net/ssl/openssl_platform_key_win.cc b/net/ssl/openssl_platform_key_win.cc
|
| index c625bff3b4202f0f6b1dd0e0e0a9a3f17b8210c8..82b76ca9af8067a5d2b87bd940880beb47eff6da 100644
|
| --- a/net/ssl/openssl_platform_key_win.cc
|
| +++ b/net/ssl/openssl_platform_key_win.cc
|
| @@ -28,6 +28,7 @@
|
| #include "base/lazy_instance.h"
|
| #include "base/logging.h"
|
| #include "base/memory/scoped_ptr.h"
|
| +#include "base/profiler/scoped_tracker.h"
|
| #include "base/win/windows_version.h"
|
| #include "crypto/scoped_capi_types.h"
|
| #include "crypto/wincrypt_shim.h"
|
| @@ -196,6 +197,10 @@ int RsaMethodSign(int hash_nid,
|
| uint8_t* out,
|
| unsigned* out_len,
|
| const RSA* rsa) {
|
| + // TODO(vadimt): Remove ScopedTracker below once crbug.com/424386 is fixed.
|
| + tracked_objects::ScopedTracker tracking_profile(
|
| + FROM_HERE_WITH_EXPLICIT_FUNCTION("424386 RsaMethodSign"));
|
| +
|
| // TODO(davidben): Switch BoringSSL's sign hook to using size_t rather than
|
| // unsigned.
|
| const KeyExData* ex_data = RsaGetExData(rsa);
|
| @@ -431,6 +436,10 @@ int EcdsaMethodSign(const uint8_t* digest,
|
| uint8_t* out_sig,
|
| unsigned int* out_sig_len,
|
| EC_KEY* ec_key) {
|
| + // TODO(vadimt): Remove ScopedTracker below once crbug.com/424386 is fixed.
|
| + tracked_objects::ScopedTracker tracking_profile(
|
| + FROM_HERE_WITH_EXPLICIT_FUNCTION("424386 EcdsaMethodSign"));
|
| +
|
| const KeyExData* ex_data = EcKeyGetExData(ec_key);
|
| // Only CNG supports ECDSA.
|
| if (!ex_data || ex_data->key->dwKeySpec != CERT_NCRYPT_KEY_SPEC) {
|
|
|