Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src



Module Name:    src
Committed By:   riastradh
Date:           Wed Aug 28 15:24:41 UTC 2013

Modified Files:
        src/common/lib/libc/string: consttime_memequal.c
        src/crypto/external/bsd/openssh/dist: dns.c
        src/lib/libc/string: consttime_memequal.3
        src/sys/netipsec: xform_ah.c xform_esp.c

Log Message:
Fix sense of consttime_memequal and update all callers.

Now it returns true (nonzero) to mean equal and false (zero) to mean
inequal, as the name suggests.

As promised on tech-userlevel back in June:

https://mail-index.netbsd.org/tech-userlevel/2013/06/24/msg007843.html


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/common/lib/libc/string/consttime_memequal.c
cvs rdiff -u -r1.6 -r1.7 src/crypto/external/bsd/openssh/dist/dns.c
cvs rdiff -u -r1.1 -r1.2 src/lib/libc/string/consttime_memequal.3
cvs rdiff -u -r1.40 -r1.41 src/sys/netipsec/xform_ah.c
cvs rdiff -u -r1.43 -r1.44 src/sys/netipsec/xform_esp.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index