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

Unified Diff: crypto/signature_verifier.h

Issue 2332473002: Use new BoringSSL scopers in //crypto (Closed)
Patch Set: rebase Created 4 years, 3 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 | « crypto/signature_creator.cc ('k') | crypto/signature_verifier.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: crypto/signature_verifier.h
diff --git a/crypto/signature_verifier.h b/crypto/signature_verifier.h
index e6b6fc0116e3ef76326dc487cd178a4096fb8145..f1ea58062cf76e2b05a40648b4ad6a542514cc44 100644
--- a/crypto/signature_verifier.h
+++ b/crypto/signature_verifier.h
@@ -7,6 +7,7 @@
#include <stdint.h>
+#include <memory>
#include <vector>
#include "build/build_config.h"
@@ -103,7 +104,7 @@ class CRYPTO_EXPORT SignatureVerifier {
std::vector<uint8_t> signature_;
struct VerifyContext;
- VerifyContext* verify_context_;
+ std::unique_ptr<VerifyContext> verify_context_;
};
} // namespace crypto
« no previous file with comments | « crypto/signature_creator.cc ('k') | crypto/signature_verifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698