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 "crypto/signature_verifier.h" | 5 #include "crypto/signature_verifier.h" |
6 | 6 |
7 #include <openssl/bytestring.h> | 7 #include <openssl/bytestring.h> |
8 #include <openssl/digest.h> | 8 #include <openssl/digest.h> |
9 #include <openssl/evp.h> | 9 #include <openssl/evp.h> |
10 #include <stdint.h> | 10 #include <stdint.h> |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 return rv == 1; | 151 return rv == 1; |
152 } | 152 } |
153 | 153 |
154 void SignatureVerifier::Reset() { | 154 void SignatureVerifier::Reset() { |
155 delete verify_context_; | 155 delete verify_context_; |
156 verify_context_ = NULL; | 156 verify_context_ = NULL; |
157 signature_.clear(); | 157 signature_.clear(); |
158 } | 158 } |
159 | 159 |
160 } // namespace crypto | 160 } // namespace crypto |
OLD | NEW |