OLD | NEW |
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 #include "chrome/common/net/x509_certificate_model.h" | 5 #include "chrome/common/net/x509_certificate_model.h" |
6 | 6 |
| 7 #include <limits.h> |
7 #include <openssl/mem.h> | 8 #include <openssl/mem.h> |
8 #include <openssl/obj_mac.h> | 9 #include <openssl/obj_mac.h> |
9 #include <openssl/sha.h> | 10 #include <openssl/sha.h> |
10 #include <openssl/stack.h> | 11 #include <openssl/stack.h> |
11 #include <openssl/x509.h> | 12 #include <openssl/x509.h> |
12 #include <openssl/x509v3.h> | 13 #include <openssl/x509v3.h> |
13 #include <stddef.h> | 14 #include <stddef.h> |
14 #include <stdint.h> | 15 #include <stdint.h> |
15 | 16 |
16 #include "base/i18n/number_formatting.h" | 17 #include "base/i18n/number_formatting.h" |
(...skipping 1191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1208 return rv; | 1209 return rv; |
1209 } | 1210 } |
1210 } | 1211 } |
1211 | 1212 |
1212 std::string ProcessRawBitsSignatureWrap( | 1213 std::string ProcessRawBitsSignatureWrap( |
1213 net::X509Certificate::OSCertHandle cert_handle) { | 1214 net::X509Certificate::OSCertHandle cert_handle) { |
1214 return ProcessRawAsn1String(cert_handle->signature); | 1215 return ProcessRawAsn1String(cert_handle->signature); |
1215 } | 1216 } |
1216 | 1217 |
1217 } // namespace x509_certificate_model | 1218 } // namespace x509_certificate_model |
OLD | NEW |