diff options
author | rillig <rillig@pkgsrc.org> | 2018-02-18 03:35:37 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2018-02-18 03:35:37 +0000 |
commit | 540ee6c3e4d0eacc4a06f3929ca33a06476d4ee7 (patch) | |
tree | 8f79b9ef1a2a796dcc5a9bc50b4e8334280d6710 /textproc | |
parent | 755de98541740c5faf1b62d23e3d7312a325f891 (diff) | |
download | pkgsrc-540ee6c3e4d0eacc4a06f3929ca33a06476d4ee7.tar.gz |
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 (limited to 'textproc')
-rw-r--r-- | textproc/p5-String-Compare-ConstantTime/DESCR | 3 | ||||
-rw-r--r-- | textproc/p5-String-Compare-ConstantTime/Makefile | 4 |
2 files changed, 3 insertions, 4 deletions
diff --git a/textproc/p5-String-Compare-ConstantTime/DESCR b/textproc/p5-String-Compare-ConstantTime/DESCR index d6b30d0a69c..4eccfa29244 100644 --- a/textproc/p5-String-Compare-ConstantTime/DESCR +++ b/textproc/p5-String-Compare-ConstantTime/DESCR @@ -6,5 +6,4 @@ like eq. However, comparing any two differing strings will take a fixed 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 --git a/textproc/p5-String-Compare-ConstantTime/Makefile b/textproc/p5-String-Compare-ConstantTime/Makefile index df95723f5c5..380281c9324 100644 --- a/textproc/p5-String-Compare-ConstantTime/Makefile +++ b/textproc/p5-String-Compare-ConstantTime/Makefile @@ -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/} |