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 #pragma once | |
8 | 7 |
9 #include "build/build_config.h" | 8 #include "build/build_config.h" |
10 | 9 |
11 #if defined(USE_OPENSSL) | 10 #if defined(USE_OPENSSL) |
12 // Forward declaration for openssl/*.h | 11 // Forward declaration for openssl/*.h |
13 typedef struct env_md_ctx_st EVP_MD_CTX; | 12 typedef struct env_md_ctx_st EVP_MD_CTX; |
14 #elif defined(USE_NSS) | 13 #elif defined(USE_NSS) |
15 // Forward declaration. | 14 // Forward declaration. |
16 struct SGNContextStr; | 15 struct SGNContextStr; |
17 #elif defined(OS_MACOSX) | 16 #elif defined(OS_MACOSX) |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 #elif defined(OS_WIN) | 61 #elif defined(OS_WIN) |
63 ScopedHCRYPTHASH hash_object_; | 62 ScopedHCRYPTHASH hash_object_; |
64 #endif | 63 #endif |
65 | 64 |
66 DISALLOW_COPY_AND_ASSIGN(SignatureCreator); | 65 DISALLOW_COPY_AND_ASSIGN(SignatureCreator); |
67 }; | 66 }; |
68 | 67 |
69 } // namespace crypto | 68 } // namespace crypto |
70 | 69 |
71 #endif // CRYPTO_SIGNATURE_CREATOR_H_ | 70 #endif // CRYPTO_SIGNATURE_CREATOR_H_ |
OLD | NEW |