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: 06-Jun-2010 23:49:42 Branch: HEAD Handle: 2010060621494100 Modified files: rpm/rpmio rpmssl.c rpmssl.h Log: - ssl: shorter variable name. Summary: Revision Changes Path 2.37 +6 -6 rpm/rpmio/rpmssl.c 2.11 +1 -1 rpm/rpmio/rpmssl.h ____________________________________________________________________________ patch -p0 <<'@@ .' Index: rpm/rpmio/rpmssl.c ============================================================================ $ cvs diff -u -r2.36 -r2.37 rpmssl.c --- rpm/rpmio/rpmssl.c 5 Jun 2010 22:18:52 -0000 2.36 +++ rpm/rpmio/rpmssl.c 6 Jun 2010 21:49:41 -0000 2.37 @@ -113,11 +113,11 @@ /* Set RSA hash. */ /*...@-moduncon -noeffectuncon @*/ - xx = BN_hex2bn(&ssl->rsahm, hexstr); + xx = BN_hex2bn(&ssl->hm, hexstr); /*...@=moduncon =noeffectuncon @*/ /*...@-modfilesys@*/ -if (_pgp_debug < 0) fprintf(stderr, "*** rsahm: %s\n", hexstr); +if (_pgp_debug < 0) fprintf(stderr, "*** hm: %s\n", hexstr); hexstr = _free(hexstr); /*...@=modfilesys@*/ @@ -171,7 +171,7 @@ assert(ssl->rsa); /* XXX ensure lazy malloc with parameter set. */ maxn = BN_num_bytes(ssl->rsa->n); - hm = rpmsslBN2bin("hm", ssl->rsahm, maxn); + hm = rpmsslBN2bin("hm", ssl->hm, maxn); c = rpmsslBN2bin(" c", ssl->c, maxn); nb = RSA_public_decrypt((int)maxn, c, c, ssl->rsa, RSA_PKCS1_PADDING); @@ -560,9 +560,9 @@ if (ssl->rsa) RSA_free(ssl->rsa); ssl->rsa = NULL; - if (ssl->rsahm) - BN_free(ssl->rsahm); - ssl->rsahm = NULL; + if (ssl->hm) + BN_free(ssl->hm); + ssl->hm = NULL; if (ssl->c) BN_free(ssl->c); ssl->c = NULL; @@ . patch -p0 <<'@@ .' Index: rpm/rpmio/rpmssl.h ============================================================================ $ cvs diff -u -r2.10 -r2.11 rpmssl.h --- rpm/rpmio/rpmssl.h 1 Jun 2010 20:08:37 -0000 2.10 +++ rpm/rpmio/rpmssl.h 6 Jun 2010 21:49:41 -0000 2.11 @@ -48,7 +48,7 @@ /* RSA parameters. */ RSA * rsa; - BIGNUM * rsahm; + BIGNUM * hm; BIGNUM * c; /* ECDSA parameters. */ @@ . ______________________________________________________________________ RPM Package Manager http://rpm5.org CVS Sources Repository [email protected]
