From dcd4997b0664bcfd6ef48e4ae9da8396e08b1cd9 Mon Sep 17 00:00:00 2001 From: David Hill Date: Thu, 16 Feb 2017 11:07:38 -0500 Subject: [PATCH] Switch to upstream golang.org/x/crypto --- address.go | 4 ++-- address_test.go | 2 +- hash160.go | 4 ++-- internal_test.go | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/address.go b/address.go index ed6c724..d0a2e3d 100644 --- a/address.go +++ b/address.go @@ -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 // license that can be found in the LICENSE file. @@ -11,7 +11,7 @@ import ( "github.com/btcsuite/btcd/btcec" "github.com/btcsuite/btcd/chaincfg" "github.com/btcsuite/btcutil/base58" - "github.com/btcsuite/golangcrypto/ripemd160" + "golang.org/x/crypto/ripemd160" ) var ( diff --git a/address_test.go b/address_test.go index cb5539b..4e17d48 100644 --- a/address_test.go +++ b/address_test.go @@ -13,7 +13,7 @@ import ( "github.com/btcsuite/btcd/chaincfg" "github.com/btcsuite/btcutil" - "github.com/btcsuite/golangcrypto/ripemd160" + "golang.org/x/crypto/ripemd160" ) func TestAddresses(t *testing.T) { diff --git a/hash160.go b/hash160.go index 0e58219..599a0fe 100644 --- a/hash160.go +++ b/hash160.go @@ -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 // license that can be found in the LICENSE file. @@ -8,7 +8,7 @@ import ( "crypto/sha256" "hash" - "github.com/btcsuite/golangcrypto/ripemd160" + "golang.org/x/crypto/ripemd160" ) // Calculate the hash of hasher over buf. diff --git a/internal_test.go b/internal_test.go index 9f5e25e..91ce825 100644 --- a/internal_test.go +++ b/internal_test.go @@ -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 // license that can be found in the LICENSE file. @@ -14,7 +14,7 @@ package btcutil import ( "github.com/btcsuite/btcd/btcec" "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