pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/p5-String-Compare-ConstantTime p5-String-Comp...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/833c6620e24c
branches:  trunk
changeset: 375614:833c6620e24c
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sun Feb 18 03:35:37 2018 +0000

description:
p5-String-Compare-ConstantTime: fix DESCR

The comparison takes a constant amount of time, no matter whether the
strings are equal, or even the same, or different. This one sentence had
been added to DESCR out of nowhere.

diffstat:

 textproc/p5-String-Compare-ConstantTime/DESCR    |  3 +--
 textproc/p5-String-Compare-ConstantTime/Makefile |  4 ++--
 2 files changed, 3 insertions(+), 4 deletions(-)

diffs (24 lines):

diff -r 36df2d55d6ef -r 833c6620e24c textproc/p5-String-Compare-ConstantTime/DESCR
--- a/textproc/p5-String-Compare-ConstantTime/DESCR     Sat Feb 17 15:52:56 2018 +0000
+++ b/textproc/p5-String-Compare-ConstantTime/DESCR     Sun Feb 18 03:35:37 2018 +0000
@@ -6,5 +6,4 @@
 amount of time, unlike eq.
 
 NOTE: If the lengths of the strings are different, equals will return
-false right away. Also, comparing two identical strings will take a
-different amount of time than comparing two differing strings.
+false right away.
diff -r 36df2d55d6ef -r 833c6620e24c textproc/p5-String-Compare-ConstantTime/Makefile
--- a/textproc/p5-String-Compare-ConstantTime/Makefile  Sat Feb 17 15:52:56 2018 +0000
+++ b/textproc/p5-String-Compare-ConstantTime/Makefile  Sun Feb 18 03:35:37 2018 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.8 2017/06/05 14:24:46 ryoon Exp $
+# $NetBSD: Makefile,v 1.9 2018/02/18 03:35:37 rillig Exp $
 
 DISTNAME=      String-Compare-ConstantTime-0.312
 PKGNAME=       p5-${DISTNAME}
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    textproc perl5
 MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=String/}
 



Home | Main Index | Thread Index | Old Index