aboutsummaryrefslogtreecommitdiffstats
path: root/p2p/crypto_test.go
diff options
context:
space:
mode:
authorzelig <viktor.tron@gmail.com>2015-01-19 09:24:28 +0800
committerFelix Lange <fjl@twurst.com>2015-02-06 07:00:35 +0800
commit076c382a7486ebf58f33e1e0df49e92dc877ea19 (patch)
treef2792cd26df8dddae14ca1995c267a55cea72c4e /p2p/crypto_test.go
parent3b6385b14624faee26445a3d98fa94efdb30d29a (diff)
downloadgo-tangerine-076c382a7486ebf58f33e1e0df49e92dc877ea19.tar
go-tangerine-076c382a7486ebf58f33e1e0df49e92dc877ea19.tar.gz
go-tangerine-076c382a7486ebf58f33e1e0df49e92dc877ea19.tar.bz2
go-tangerine-076c382a7486ebf58f33e1e0df49e92dc877ea19.tar.lz
go-tangerine-076c382a7486ebf58f33e1e0df49e92dc877ea19.tar.xz
go-tangerine-076c382a7486ebf58f33e1e0df49e92dc877ea19.tar.zst
go-tangerine-076c382a7486ebf58f33e1e0df49e92dc877ea19.zip
handshake test to crypto
Diffstat (limited to 'p2p/crypto_test.go')
-rw-r--r--p2p/crypto_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/p2p/crypto_test.go b/p2p/crypto_test.go
index 6b4afb16a..1785b5c45 100644
--- a/p2p/crypto_test.go
+++ b/p2p/crypto_test.go
@@ -31,7 +31,7 @@ func TestCryptoHandshake(t *testing.T) {
respNonce, randomPubKey, _, _ := initiator.verifyAuthResp(response)
fmt.Printf("%x\n%x\n%x\n%x\n%x\n%x\n%x\n%x\n", auth, initNonce, response, remoteRespNonce, remoteInitNonce, remoteRandomPubKey, respNonce, randomPubKey)
- // initSessionToken, initSecretRW, _ := initiator.newSession(initNonce, respNonce, auth, randomPubKey)
+ initSessionToken, initSecretRW, _ := initiator.newSession(initNonce, respNonce, auth, randomPubKey)
// respSessionToken, respSecretRW, _ := responder.newSession(remoteInitNonce, remoteRespNonce, auth, remoteRandomPubKey)
// if !bytes.Equal(initSessionToken, respSessionToken) {