summaryrefslogtreecommitdiffstats
path: root/crypto/ec_signature_creator_openssl.cc
diff options
context:
space:
mode:
authordavidben <davidben@chromium.org>2014-10-01 19:20:43 -0700
committerCommit bot <commit-bot@chromium.org>2014-10-02 02:21:01 +0000
commit50a133b51fa9c6a3dc2b82ce9fedcf074859cd13 (patch)
treedaf57dbe2170a368999ef1839e63c64801d75e5c /crypto/ec_signature_creator_openssl.cc
parent0d2885645b7f42e37e1aa09fa6a0794718e3df84 (diff)
downloadchromium_src-50a133b51fa9c6a3dc2b82ce9fedcf074859cd13.zip
chromium_src-50a133b51fa9c6a3dc2b82ce9fedcf074859cd13.tar.gz
chromium_src-50a133b51fa9c6a3dc2b82ce9fedcf074859cd13.tar.bz2
Fix crypto_unittests on Windows BoringSSL port.
MSVC is somewhat pickier about casting things to bool. BUG=338884 Review URL: https://codereview.chromium.org/618123007 Cr-Commit-Position: refs/heads/master@{#297770}
Diffstat (limited to 'crypto/ec_signature_creator_openssl.cc')
-rw-r--r--crypto/ec_signature_creator_openssl.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/crypto/ec_signature_creator_openssl.cc b/crypto/ec_signature_creator_openssl.cc
index adff2c9..91e8a6a8 100644
--- a/crypto/ec_signature_creator_openssl.cc
+++ b/crypto/ec_signature_creator_openssl.cc
@@ -17,12 +17,6 @@
namespace crypto {
-namespace {
-
-typedef ScopedOpenSSL<ECDSA_SIG, ECDSA_SIG_free>::Type ScopedECDSA_SIG;
-
-} // namespace
-
ECSignatureCreatorImpl::ECSignatureCreatorImpl(ECPrivateKey* key)
: key_(key), signature_len_(0) {
EnsureOpenSSLInit();