// 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.

#include "crypto/ec_signature_creator.h"

#include "base/logging.h"

namespace crypto {

// static
ECSignatureCreator* ECSignatureCreator::Create(ECPrivateKey* key) {
  NOTIMPLEMENTED();
  return NULL;
}

ECSignatureCreator::ECSignatureCreator(ECPrivateKey* key)
    : key_(key) {
  NOTIMPLEMENTED();
}

ECSignatureCreator::~ECSignatureCreator() { }

bool ECSignatureCreator::Sign(const uint8* data,
                              int data_len,
                              std::vector<uint8>* signature) {
  NOTIMPLEMENTED();
  return false;
}

}  // namespace crypto

// 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.

#include "crypto/ec_signature_creator.h"

#include "base/logging.h"

namespace crypto {

// static
ECSignatureCreator* ECSignatureCreator::Create(ECPrivateKey* key) {
  NOTIMPLEMENTED();
  return NULL;
}

ECSignatureCreator::ECSignatureCreator(ECPrivateKey* key,
                                       HASH_HashType hash_type)
    : key_(key),
      hash_type_(hash_type) {
  NOTIMPLEMENTED();
}

ECSignatureCreator::~ECSignatureCreator() { }

bool ECSignatureCreator::Sign(const uint8* data,
                              int data_len,
                              std::vector<uint8>* signature) {
  NOTIMPLEMENTED();
  return false;
}

}  // namespace crypto

--- 
+++ 
@@ -14,10 +14,8 @@
   return NULL;
 }
 
-ECSignatureCreator::ECSignatureCreator(ECPrivateKey* key,
-                                       HASH_HashType hash_type)
-    : key_(key),
-      hash_type_(hash_type) {
+ECSignatureCreator::ECSignatureCreator(ECPrivateKey* key)
+    : key_(key) {
   NOTIMPLEMENTED();
 }
 
Remove wrong parameter from ECSignatureCreator's constructor in openssl implement.

The wrong parameter was unused and broke the linux redux build.

TBR=wtc
BUG=None.
TEST=Linux redux bot should be green.
Review URL: https://chromiumcodereview.appspot.com/9234024

git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@119053 0039d316-1c4b-4281-b951-d872f2087c98
