RPM Package Manager, CVS Repository http://rpm5.org/cvs/ ____________________________________________________________________________
Server: rpm5.org Name: Jeff Johnson Root: /v/rpm/cvs Email: [email protected] Module: rpm Date: 30-May-2010 10:19:33 Branch: HEAD Handle: 2010053008193201 Modified files: rpm CHANGES rpm/rpmio digest.c Log: - hmac: fix: permit HMAC's to be clone'd (salt size was incorrect). Summary: Revision Changes Path 1.3374 +1 -0 rpm/CHANGES 2.93 +1 -1 rpm/rpmio/digest.c ____________________________________________________________________________ patch -p0 <<'@@ .' Index: rpm/CHANGES ============================================================================ $ cvs diff -u -r1.3373 -r1.3374 CHANGES --- rpm/CHANGES 27 May 2010 15:30:22 -0000 1.3373 +++ rpm/CHANGES 30 May 2010 08:19:32 -0000 1.3374 @@ -1,4 +1,5 @@ 5.3.0 -> 5.4a1: + - jbj: hmac: fix: permit HMAC's to be clone'd (salt size was incorrect). - jbj: ssl: populate set/verify/sign/generate methods for ECDSA. - jbj: ecdsa: stub-in sign/generate methods for {ECDSA,RSA,DSA}. - jbj: hkp: only verify the signhash, not the signature, with V3 signatures. @@ . patch -p0 <<'@@ .' Index: rpm/rpmio/digest.c ============================================================================ $ cvs diff -u -r2.92 -r2.93 digest.c --- rpm/rpmio/digest.c 18 May 2010 23:30:52 -0000 2.92 +++ rpm/rpmio/digest.c 30 May 2010 08:19:33 -0000 2.93 @@ -221,7 +221,7 @@ ? memcpy(xmalloc(nctx->paramsize), octx->param, nctx->paramsize) : NULL; nctx->salt = (octx->salt != NULL && octx->blocksize > 0) - ? memcpy(xmalloc(2*nctx->blocksize), octx->salt, 2*nctx->blocksize) + ? memcpy(xmalloc(nctx->blocksize), octx->salt, nctx->blocksize) : NULL; return (DIGEST_CTX)rpmioLinkPoolItem((rpmioItem)nctx, __FUNCTION__, __FILE__, __LINE__); } @@ . ______________________________________________________________________ RPM Package Manager http://rpm5.org CVS Sources Repository [email protected]
