diff options
author | Daniel Borkmann <dborkman@redhat.com> | 2013-06-04 14:52:36 +0200 |
---|---|---|
committer | Daniel Borkmann <dborkman@redhat.com> | 2013-06-04 14:52:36 +0200 |
commit | 923d6438f34babecfb53c3925d83afa5178641bd (patch) | |
tree | 103edb6cae25d3a398fb0ac7af392fa4274db4e1 /curve.c | |
parent | 59ebf2978741fb4cf0086440e23a1fcb522fdc21 (diff) |
taia: move taia evaluation out of curve.
This is not really related to curve functions, so move it out from
there.
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'curve.c')
-rw-r--r-- | curve.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -254,7 +254,7 @@ ssize_t curve25519_decode(struct curve25519_struct *curve, struct curve25519_pro } taia_unpack(chipertext + crypto_box_boxzerobytes - NONCE_LENGTH, &packet_taia); - if (is_good_taia(arrival_taia, &packet_taia) == 0) { + if (taia_looks_good(arrival_taia, &packet_taia) == 0) { syslog(LOG_ERR, "Bad packet time! Dropping connection!\n"); done = 0; goto out; |