6 Jul
2009
6 Jul
'09
20:09
The changeset 318bbe263d25517cc6a7ca9e67b7f1bd8088469d introduced a new private structure copied from RPM sources called pgpDigParams_s which seems to use a 'byte' type defined somewhere in legacy RPM code (I guess it is just a typedef, maybe I'm wrong). This 'byte' type is not defined in RPM >= 4.7 and the structure itself has changed a bit. It seems that 'byte' has changed to 'uint8_t' nearly everywhere with a couple of exceptions. However, I found it easier to copy the structure from rpm 4.7 sources and leverage the existing 'FEDORA' value to wrap it in an #ifdef block. The testsuite runs 100% fine but I'm testing it with some real-world usage. :-) Cheers, L.V.