OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef NET_CERT_CT_KNOWN_LOGS_KEYS_H_ | |
6 #define NET_CERT_CT_KNOWN_LOGS_KEYS_H_ | |
7 | |
8 namespace net { | |
9 | |
10 static const char kGooglePilotLogKey[] = | |
Ryan Sleevi
2013/11/25 06:49:31
This should be unsigned char; you should get a war
Eran M. (Google)
2013/11/25 17:18:33
As discussed offline, the warning is only if I use
| |
11 "\x30\x59\x30\x13\x06\x07\x2a\x86\x48\xce\x3d\x02\x01\x06\x08\x2a\x86\x48" | |
12 "\xce\x3d\x03\x01\x07\x03\x42\x00\x04\x7d\xa8\x4b\x12\x29\x80\xa3\x3d\xad" | |
13 "\xd3\x5a\x77\xb8\xcc\xe2\x88\xb3\xa5\xfd\xf1\xd3\x0c\xcd\x18\x0c\xe8\x41" | |
14 "\x46\xe8\x81\x01\x1b\x15\xe1\x4b\xf1\x1b\x62\xdd\x36\x0a\x08\x18\xba\xed" | |
15 "\x0b\x35\x84\xd0\x9e\x40\x3c\x2d\x9e\x9b\x82\x65\xbd\x1f\x04\x10\x41\x4c" | |
16 "\xa0"; | |
17 | |
18 static const int kGooglePilotLogKeyLength = arraysize(kGooglePilotLogKey) - 1; | |
Ryan Sleevi
2013/11/25 06:49:31
So this file is a little weird. You're exposing th
Eran M. (Google)
2013/11/25 17:18:33
Done - applied both suggestions.
| |
19 | |
20 static const char kGooglePilotLogName[] = "Google CT Pilot"; | |
Ryan Sleevi
2013/11/25 06:49:31
I'm really uncomfortable with putting what will be
Eran M. (Google)
2013/11/25 17:18:33
What would you suggest?
In this case I'd argue th
| |
21 | |
22 static const char kGoogleTestLogKey[] = | |
23 "\x30\x59\x30\x13\x06\x07\x2a\x86\x48\xce\x3d\x02\x01\x06\x08\x2a\x86\x48" | |
24 "\xce\x3d\x03\x01\x07\x03\x42\x00\x04\xd7\xf4\xcc\x69\xb2\xe4\x0e\x90\xa3" | |
25 "\x8a\xea\x5a\x70\x09\x4f\xef\x13\x62\xd0\x8d\x49\x60\xff\x1b\x40\x50\x07" | |
26 "\x0c\x6d\x71\x86\xda\x25\x49\x8d\x65\xe1\x08\x0d\x47\x34\x6b\xbd\x27\xbc" | |
27 "\x96\x21\x3e\x34\xf5\x87\x76\x31\xb1\x7f\x1d\xc9\x85\x3b\x0d\xf7\x1f\x3f" | |
28 "\xe9"; | |
29 | |
30 static const int kGoogleTestLogKeyLength = arraysize(kGoogleTestLogKey) - 1; | |
31 | |
32 static const char kGoogleTestLogName[] = "Google CT Test (Aviator)"; | |
33 | |
34 } // namespace net | |
35 | |
36 #endif // NET_CERT_CT_KNOWN_LOGS_KEYS_H_ | |
OLD | NEW |