| 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/cert/cert_verify_proc_nss.h" | 5 #include "net/cert/cert_verify_proc_nss.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include <cert.h> | 10 #include <cert.h> |
| 11 #include <nss.h> | 11 #include <nss.h> |
| 12 #include <prerror.h> | 12 #include <prerror.h> |
| 13 #include <secerr.h> | 13 #include <secerr.h> |
| 14 #include <sechash.h> | 14 #include <sechash.h> |
| 15 #include <sslerr.h> | 15 #include <sslerr.h> |
| 16 | 16 |
| 17 #include "base/logging.h" | 17 #include "base/logging.h" |
| 18 #include "base/macros.h" |
| 18 #include "build/build_config.h" | 19 #include "build/build_config.h" |
| 19 #include "crypto/nss_util.h" | 20 #include "crypto/nss_util.h" |
| 20 #include "crypto/scoped_nss_types.h" | 21 #include "crypto/scoped_nss_types.h" |
| 21 #include "crypto/sha2.h" | 22 #include "crypto/sha2.h" |
| 22 #include "net/base/net_errors.h" | 23 #include "net/base/net_errors.h" |
| 23 #include "net/cert/asn1_util.h" | 24 #include "net/cert/asn1_util.h" |
| 24 #include "net/cert/cert_status_flags.h" | 25 #include "net/cert/cert_status_flags.h" |
| 25 #include "net/cert/cert_verifier.h" | 26 #include "net/cert/cert_verifier.h" |
| 26 #include "net/cert/cert_verify_result.h" | 27 #include "net/cert/cert_verify_result.h" |
| 27 #include "net/cert/crl_set.h" | 28 #include "net/cert/crl_set.h" |
| (...skipping 943 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 971 CRLSet* crl_set, | 972 CRLSet* crl_set, |
| 972 const CertificateList& additional_trust_anchors, | 973 const CertificateList& additional_trust_anchors, |
| 973 CertVerifyResult* verify_result) { | 974 CertVerifyResult* verify_result) { |
| 974 return VerifyInternalImpl(cert, hostname, ocsp_response, flags, crl_set, | 975 return VerifyInternalImpl(cert, hostname, ocsp_response, flags, crl_set, |
| 975 additional_trust_anchors, | 976 additional_trust_anchors, |
| 976 NULL, // chain_verify_callback | 977 NULL, // chain_verify_callback |
| 977 verify_result); | 978 verify_result); |
| 978 } | 979 } |
| 979 | 980 |
| 980 } // namespace net | 981 } // namespace net |
| OLD | NEW |