summaryrefslogtreecommitdiffstats
path: root/crypto/signature_creator.h
diff options
context:
space:
mode:
authorwtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-08 00:14:54 +0000
committerwtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-08 00:14:54 +0000
commit5ee44d495bad0360a05be1657fcc2b5bbd689976 (patch)
tree20f36773f3ffd8323e0073b33f5f3988705d8f3c /crypto/signature_creator.h
parentf12b14ebaef0065e903f25fddf851bc7abde3e8c (diff)
downloadchromium_src-5ee44d495bad0360a05be1657fcc2b5bbd689976.zip
chromium_src-5ee44d495bad0360a05be1657fcc2b5bbd689976.tar.gz
chromium_src-5ee44d495bad0360a05be1657fcc2b5bbd689976.tar.bz2
Use a forward declaration of RSAPrivateKey in crypto/signature_creator.h.
R=rch@chromium.org BUG=none TEST=no compilation errors Review URL: http://codereview.chromium.org/9348001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120872 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'crypto/signature_creator.h')
-rw-r--r--crypto/signature_creator.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/crypto/signature_creator.h b/crypto/signature_creator.h
index eccfcce..63512b8 100644
--- a/crypto/signature_creator.h
+++ b/crypto/signature_creator.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -22,7 +22,6 @@ struct SGNContextStr;
#include "base/basictypes.h"
#include "crypto/crypto_export.h"
-#include "crypto/rsa_private_key.h"
#if defined(OS_WIN)
#include "crypto/scoped_capi_types.h"
@@ -30,6 +29,8 @@ struct SGNContextStr;
namespace crypto {
+class RSAPrivateKey;
+
// Signs data using a bare private key (as opposed to a full certificate).
// Currently can only sign data using SHA-1 with RSA encryption.
class CRYPTO_EXPORT SignatureCreator {