Module Name: src
Committed By: snj
Date: Wed Mar 18 08:24:57 UTC 2015
Modified Files:
src/lib/libc/string [netbsd-7]: consttime_memequal.3
Log Message:
Pull up following revision(s) (requested by riastradh in ticket #610):
lib/libc/string/consttime_memequal.3: revision 1.3, 1.4
Commit to returning 1, not any nonzero value.
--
bump year
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.2.6.1 src/lib/libc/string/consttime_memequal.3
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/string/consttime_memequal.3
diff -u src/lib/libc/string/consttime_memequal.3:1.2 src/lib/libc/string/consttime_memequal.3:1.2.6.1
--- src/lib/libc/string/consttime_memequal.3:1.2 Wed Aug 28 15:24:41 2013
+++ src/lib/libc/string/consttime_memequal.3 Wed Mar 18 08:24:57 2015
@@ -1,4 +1,4 @@
-.\" $NetBSD: consttime_memequal.3,v 1.2 2013/08/28 15:24:41 riastradh Exp $
+.\" $NetBSD: consttime_memequal.3,v 1.2.6.1 2015/03/18 08:24:57 snj Exp $
.\"
.\" Copyright (c) 2013 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -27,7 +27,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd August 28, 2013
+.Dd November 14, 2013
.Dt CONSTTIME_MEMEQUAL 3
.Os
.Sh NAME
@@ -48,8 +48,8 @@ bytes of memory at
.Fa b1
and
.Fa b2
-for equality, returning zero if they are distinct and nonzero if they
-are identical.
+for equality, returning 0 if they are distinct and 1 if they are
+identical.
.Pp
The time taken by
.Fn consttime_memequal