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

Side by Side Diff: net/cert/sct_status_flags.cc

Issue 2294373002: Certificate Transparency: Remove the obsolete invalid sct status. (Closed)
Patch Set: Addressing review comments 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 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 #include "net/cert/sct_status_flags.h"
6
7 namespace net {
8
9 namespace ct {
10
11 bool IsValidSCTStatus(uint32_t status) {
12 switch (status) {
13 case net::ct::SCT_STATUS_LOG_UNKNOWN:
14 case net::ct::SCT_STATUS_INVALID_SIGNATURE:
15 case net::ct::SCT_STATUS_OK:
16 case net::ct::SCT_STATUS_INVALID_TIMESTAMP:
17 return true;
18 case net::ct::SCT_STATUS_NONE:
19 return false;
20 }
21
22 return false;
23 }
24
25 } // namespace ct
26
27 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698