Permalink
Browse files

Don't try a failed non-handshake as a handshake.

  • Loading branch information...
1 parent f7a2733 commit 0aa3cf1d85ffccb2ae89513af4090ee51ea84b40 Caleb James DeLisle committed Feb 21, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 crypto/CryptoAuth.c
View
1 crypto/CryptoAuth.c
@@ -875,6 +875,7 @@ static uint8_t receiveMessage(struct Message* received, struct Interface* interf
}
CryptoAuth_reset(&wrapper->externalInterface);
cryptoAuthDebug0(wrapper, "Final handshake step failed");
+ return Error_UNDELIVERABLE;
}
} else if (nonce > 4) {
if (decryptMessage(wrapper, nonce, received, wrapper->secret)) {

0 comments on commit 0aa3cf1

Please sign in to comment.