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

Side by Side Diff: net/base/public_key_hashes_check.go

Issue 10003002: Revert 132012 - net: move HSTS preloaded and pinning info out of code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/base/public_key_hashes.h ('k') | net/base/transport_security_state.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:mergeinfo
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // public_key_hashes_check.go runs tests on public_key_hashes.h. It's not run 5 // public_key_hashes_check.go runs tests on public_key_hashes.h. It's not run
6 // automatically, but rather as part of the process of manually updating 6 // automatically, but rather as part of the process of manually updating
7 // public_key_hashes.h 7 // public_key_hashes.h
8 // 8 //
9 // It verifies that each hash in the file is correct given the preceeding 9 // It verifies that each hash in the file is correct given the preceeding
10 // certificate and that the name of the variable matches the name given in the 10 // certificate and that the name of the variable matches the name given in the
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 state = POSTDECL 226 state = POSTDECL
227 case POSTDECL: 227 case POSTDECL:
228 fmt.Fprintf(os.Stderr, "Found declation at line %d, but missed the hash value of the previous one\n", lineNo) 228 fmt.Fprintf(os.Stderr, "Found declation at line %d, but missed the hash value of the previous one\n", lineNo)
229 return 229 return
230 default: 230 default:
231 panic("bad state") 231 panic("bad state")
232 } 232 }
233 } 233 }
234 } 234 }
235 } 235 }
OLDNEW
« no previous file with comments | « net/base/public_key_hashes.h ('k') | net/base/transport_security_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698