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: 12-Aug-2010 14:42:37 Branch: HEAD Handle: 2010081212423700 Modified files: rpm/rpmio dumpasn1.c Log: - sanity. Summary: Revision Changes Path 2.12 +3 -3 rpm/rpmio/dumpasn1.c ____________________________________________________________________________ patch -p0 <<'@@ .' Index: rpm/rpmio/dumpasn1.c ============================================================================ $ cvs diff -u -r2.11 -r2.12 dumpasn1.c --- rpm/rpmio/dumpasn1.c 30 Jun 2010 17:38:33 -0000 2.11 +++ rpm/rpmio/dumpasn1.c 12 Aug 2010 12:42:37 -0000 2.12 @@ -190,7 +190,7 @@ unsigned char oid[MAX_OID_SIZE]; int oidLength; char *comment; /* Name, rank, ... */ - char **description; /* ... and serial number */ + char *description; /* ... and serial number */ int warn; /* Whether to warn if OID encountered */ } OIDINFO; @@ -884,7 +884,7 @@ /* Check if LHS status info + indent + "OCTET STRING" string + data wraps */ if ((AF_ISSET(PURE) ? 0 : INDENT_SIZE) + (level * 2) + 12 + - (length * 3) < (int)asn->outwidth) + (length * 3) < asn->outwidth) singleLine = TRUE; if (noBytes > 128 && !AF_ISSET(ALLDATA)) @@ -1823,7 +1823,7 @@ ch, (ch != 1) ? "s" : ""); asn->fPos++; if (!--item->length && !ch) { - rpmasnPuta("\n", asn); + rpmasnPuts("\n", asn); complain(asn, "Object has zero length", level); return; } @@ . ______________________________________________________________________ RPM Package Manager http://rpm5.org CVS Sources Repository [email protected]
