diff options
author | agc <agc@pkgsrc.org> | 2014-11-29 20:19:46 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 2014-11-29 20:19:46 +0000 |
commit | 5cf7c02daf0e409fb031f571106a499120e76fd9 (patch) | |
tree | 3faf0f7cf92db4e9f309b72211e3dab6af04e9d9 /security | |
parent | 1284e33cf289afdf0798588fd5183dd8b959cb4c (diff) | |
download | pkgsrc-5cf7c02daf0e409fb031f571106a499120e76fd9.tar.gz |
Update netpgpverify to version 20141129
+ enhancement to tiger.c (from apb, IIRC) to use the union rather than
dubious and probably unportable casts.
+ bump version number
Diffstat (limited to 'security')
-rw-r--r-- | security/netpgpverify/Makefile | 4 | ||||
-rw-r--r-- | security/netpgpverify/files/tiger.c | 2 | ||||
-rw-r--r-- | security/netpgpverify/files/verify.h | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/security/netpgpverify/Makefile b/security/netpgpverify/Makefile index a5a1b610aec..f751f05332d 100644 --- a/security/netpgpverify/Makefile +++ b/security/netpgpverify/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.8 2014/07/12 15:45:52 agc Exp $ +# $NetBSD: Makefile,v 1.9 2014/11/29 20:19:46 agc Exp $ -DISTNAME= netpgpverify-20140712 +DISTNAME= netpgpverify-20141129 CATEGORIES= security MASTER_SITES= # empty DISTFILES= # empty diff --git a/security/netpgpverify/files/tiger.c b/security/netpgpverify/files/tiger.c index e0b44d912e7..18abd016742 100644 --- a/security/netpgpverify/files/tiger.c +++ b/security/netpgpverify/files/tiger.c @@ -819,7 +819,7 @@ TIGER_Update(TIGER_CTX *ctx, const void *data, size_t length) for (; j < 56; j++) { u.temp8[j] = 0; } - ((uint64_t *)(void *)(&(u.temp8[56])))[0] = ((uint64_t)length) << 3; + u.temp64[7] = ((uint64_t)length) << 3; tiger_compress(u.temp64, ctx->ctx); } diff --git a/security/netpgpverify/files/verify.h b/security/netpgpverify/files/verify.h index c2e889fc3f1..95c212f2de1 100644 --- a/security/netpgpverify/files/verify.h +++ b/security/netpgpverify/files/verify.h @@ -25,7 +25,7 @@ #ifndef NETPGP_VERIFY_H_ #define NETPGP_VERIFY_H_ 20140304 -#define NETPGPVERIFY_VERSION "netpgpverify portable 20140304" +#define NETPGPVERIFY_VERSION "netpgpverify portable 20141129" #include <sys/types.h> |