| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include "net/base/x509_certificate.h" | 5 #include "net/base/x509_certificate.h" |
| 6 | 6 |
| 7 #define PRArenaPool PLArenaPool // Required by <blapi.h>. | |
| 8 #include <blapi.h> // Implement CalculateChainFingerprint() with NSS. | 7 #include <blapi.h> // Implement CalculateChainFingerprint() with NSS. |
| 9 | 8 |
| 10 #include "base/lazy_instance.h" | 9 #include "base/lazy_instance.h" |
| 11 #include "base/logging.h" | 10 #include "base/logging.h" |
| 12 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 13 #include "base/pickle.h" | 12 #include "base/pickle.h" |
| 14 #include "base/sha1.h" | 13 #include "base/sha1.h" |
| 15 #include "base/string_tokenizer.h" | 14 #include "base/string_tokenizer.h" |
| 16 #include "base/string_util.h" | 15 #include "base/string_util.h" |
| 17 #include "base/utf_string_conversions.h" | 16 #include "base/utf_string_conversions.h" |
| (...skipping 1110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1128 *type = kPublicKeyTypeECDH; | 1127 *type = kPublicKeyTypeECDH; |
| 1129 break; | 1128 break; |
| 1130 default: | 1129 default: |
| 1131 *type = kPublicKeyTypeUnknown; | 1130 *type = kPublicKeyTypeUnknown; |
| 1132 *size_bits = 0; | 1131 *size_bits = 0; |
| 1133 break; | 1132 break; |
| 1134 } | 1133 } |
| 1135 } | 1134 } |
| 1136 | 1135 |
| 1137 } // namespace net | 1136 } // namespace net |
| OLD | NEW |