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 #ifndef CRYPTO_SIGNATURE_CREATOR_H_ | 5 #ifndef CRYPTO_SIGNATURE_CREATOR_H_ |
6 #define CRYPTO_SIGNATURE_CREATOR_H_ | 6 #define CRYPTO_SIGNATURE_CREATOR_H_ |
7 | 7 |
8 #include "build/build_config.h" | |
9 | |
10 #include <vector> | 8 #include <vector> |
11 | 9 |
| 10 #include "build/build_config.h" |
12 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
13 #include "crypto/crypto_export.h" | 12 #include "crypto/crypto_export.h" |
14 | 13 |
15 #if defined(USE_OPENSSL) | 14 #if defined(USE_OPENSSL) |
16 // Forward declaration for openssl/*.h | 15 // Forward declaration for openssl/*.h |
17 typedef struct env_md_ctx_st EVP_MD_CTX; | 16 typedef struct env_md_ctx_st EVP_MD_CTX; |
18 #elif defined(USE_NSS) || defined(OS_WIN) || defined(OS_MACOSX) | 17 #elif defined(USE_NSS) || defined(OS_WIN) || defined(OS_MACOSX) |
19 // Forward declaration. | 18 // Forward declaration. |
20 struct SGNContextStr; | 19 struct SGNContextStr; |
21 #endif | 20 #endif |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 #elif defined(USE_NSS) || defined(OS_WIN) || defined(OS_MACOSX) | 57 #elif defined(USE_NSS) || defined(OS_WIN) || defined(OS_MACOSX) |
59 SGNContextStr* sign_context_; | 58 SGNContextStr* sign_context_; |
60 #endif | 59 #endif |
61 | 60 |
62 DISALLOW_COPY_AND_ASSIGN(SignatureCreator); | 61 DISALLOW_COPY_AND_ASSIGN(SignatureCreator); |
63 }; | 62 }; |
64 | 63 |
65 } // namespace crypto | 64 } // namespace crypto |
66 | 65 |
67 #endif // CRYPTO_SIGNATURE_CREATOR_H_ | 66 #endif // CRYPTO_SIGNATURE_CREATOR_H_ |
OLD | NEW |