Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(256)

Side by Side Diff: crypto/signature_creator.h

Issue 407713002: clean up code at crypto folder. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: revert code around 84line at p224.cc Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « crypto/secure_hash_unittest.cc ('k') | crypto/signature_verifier.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « crypto/secure_hash_unittest.cc ('k') | crypto/signature_verifier.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698