X-Git-Url: https://git.distorted.org.uk/~mdw/secnet/blobdiff_plain/bdc4c1f98661ec308337b90b8e3134c5c5947904..30ba82a584441fc730ad733081805d15fd07bd09:/site.c diff --git a/site.c b/site.c index c702c78..4ec56df 100644 --- a/site.c +++ b/site.c @@ -767,7 +767,7 @@ static bool_t check_msg(struct site *st, uint32_t type, struct msg *m, return False; } if (type==LABEL_MSG2) return True; - if (!consttime_memeq(m->nR,st->remoteN,NONCELEN)!=0) { + if (!consttime_memeq(m->nR,st->remoteN,NONCELEN)) { *error="wrong remotely-generated nonce"; return False; }