Switch to upstream golang.org/x/crypto

This commit is contained in:
David Hill 2017-02-16 11:07:38 -05:00 committed by Dave Collins
parent a5ecb5d954
commit dcd4997b06
4 changed files with 7 additions and 7 deletions

View file

@ -1,4 +1,4 @@
// Copyright (c) 2013, 2014 The btcsuite developers // Copyright (c) 2013-2017 The btcsuite developers
// Use of this source code is governed by an ISC // Use of this source code is governed by an ISC
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
@ -11,7 +11,7 @@ import (
"github.com/btcsuite/btcd/btcec" "github.com/btcsuite/btcd/btcec"
"github.com/btcsuite/btcd/chaincfg" "github.com/btcsuite/btcd/chaincfg"
"github.com/btcsuite/btcutil/base58" "github.com/btcsuite/btcutil/base58"
"github.com/btcsuite/golangcrypto/ripemd160" "golang.org/x/crypto/ripemd160"
) )
var ( var (

View file

@ -13,7 +13,7 @@ import (
"github.com/btcsuite/btcd/chaincfg" "github.com/btcsuite/btcd/chaincfg"
"github.com/btcsuite/btcutil" "github.com/btcsuite/btcutil"
"github.com/btcsuite/golangcrypto/ripemd160" "golang.org/x/crypto/ripemd160"
) )
func TestAddresses(t *testing.T) { func TestAddresses(t *testing.T) {

View file

@ -1,4 +1,4 @@
// Copyright (c) 2013-2014 The btcsuite developers // Copyright (c) 2013-2017 The btcsuite developers
// Use of this source code is governed by an ISC // Use of this source code is governed by an ISC
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
@ -8,7 +8,7 @@ import (
"crypto/sha256" "crypto/sha256"
"hash" "hash"
"github.com/btcsuite/golangcrypto/ripemd160" "golang.org/x/crypto/ripemd160"
) )
// Calculate the hash of hasher over buf. // Calculate the hash of hasher over buf.

View file

@ -1,4 +1,4 @@
// Copyright (c) 2013-2014 The btcsuite developers // Copyright (c) 2013-2017 The btcsuite developers
// Use of this source code is governed by an ISC // Use of this source code is governed by an ISC
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
@ -14,7 +14,7 @@ package btcutil
import ( import (
"github.com/btcsuite/btcd/btcec" "github.com/btcsuite/btcd/btcec"
"github.com/btcsuite/btcutil/base58" "github.com/btcsuite/btcutil/base58"
"github.com/btcsuite/golangcrypto/ripemd160" "golang.org/x/crypto/ripemd160"
) )
// SetBlockBytes sets the internal serialized block byte buffer to the passed // SetBlockBytes sets the internal serialized block byte buffer to the passed