Fix ans_key exchange in recent changes
authorMichael Tokarev <mjt@tls.msk.ru>
Sun, 24 May 2009 18:32:24 +0000 (22:32 +0400)
committerGuus Sliepen <guus@tinc-vpn.org>
Sun, 24 May 2009 23:30:01 +0000 (01:30 +0200)
commitca5b67111e4d797d15623c2163f67fe489dc3bf2
tree1e45c374a23a7e615f02e3d434b102f5ace4ca73
parent7034338bc36d9ea96d152091b9d58c2afc3f0c20
Fix ans_key exchange in recent changes

send_ans_key() was using the wrong in vs. outkeylength to
terminate the key being sent, so it was always empty.
src/protocol_key.c