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

Unified Diff: net/cert/ct_known_logs_static-inc.h

Issue 2613723005: Move the known CT logs to the read-only data segment (Closed)
Patch Set: Created 3 years, 11 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/cert/ct_known_logs_static-inc.h
diff --git a/net/cert/ct_known_logs_static-inc.h b/net/cert/ct_known_logs_static-inc.h
index 7ead66cc5593732b159a8f873e001345440ea759..87961b92403fd85f2737d9a22854884130878ca4 100644
--- a/net/cert/ct_known_logs_static-inc.h
+++ b/net/cert/ct_known_logs_static-inc.h
@@ -4,21 +4,21 @@
struct CTLogInfo {
// The DER-encoded SubjectPublicKeyInfo for the log.
- const char* const log_key;
+ const char* log_key;
// The length, in bytes, of |log_key|.
- const size_t log_key_length;
+ size_t log_key_length;
// The user-friendly log name.
// Note: This will not be translated.
- const char* const log_name;
+ const char* log_name;
// The HTTPS API endpoint for the log.
// Note: Trailing slashes should be included.
- const char* const log_url;
+ const char* log_url;
// The DNS API endpoint for the log.
// This is used as the parent domain for all queries about the log.
// If empty, CT DNS queries are not supported for the log. This will prevent
// retrieval of inclusion proofs over DNS for SCTs from the log.
// https://github.com/google/certificate-transparency-rfcs/blob/master/dns/draft-ct-over-dns.md.
- const char* const log_dns_domain;
+ const char* log_dns_domain;
};
// The set of all presently-qualifying CT logs.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698