aboutsummaryrefslogtreecommitdiffstats
path: root/p2p
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
parent3b6385b14624faee26445a3d98fa94efdb30d29a (diff)
downloaddexon-076c382a7486ebf58f33e1e0df49e92dc877ea19.tar
dexon-076c382a7486ebf58f33e1e0df49e92dc877ea19.tar.gz
dexon-076c382a7486ebf58f33e1e0df49e92dc877ea19.tar.bz2
dexon-076c382a7486ebf58f33e1e0df49e92dc877ea19.tar.lz
dexon-076c382a7486ebf58f33e1e0df49e92dc877ea19.tar.xz
dexon-076c382a7486ebf58f33e1e0df49e92dc877ea19.tar.zst
dexon-076c382a7486ebf58f33e1e0df49e92dc877ea19.zip
handshake test to crypto
Diffstat (limited to 'p2p')
-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) {