Lift RSA/DSA signature MPI calculations to helper functions
authorPanu Matilainen <pmatilai@redhat.com>
Fri, 4 Nov 2011 12:15:26 +0000 (14:15 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Fri, 4 Nov 2011 12:15:26 +0000 (14:15 +0200)
commitcf17be048e2948cf47c0208d6c4c8fe05fb04625
tree29839322d10ed9ef48a9b37b2056f5624f2d8f10
parent3c585c0aa4d280bc14e29ac06ccae6f20092e3cd
Lift RSA/DSA signature MPI calculations to helper functions

- Use function pointers to call appropriate helper, cleaning up
  pgpPrtSigParams() considerably. Supposedly no functional changes.
- Also serves as first step towards isolating NSS-specific bits
  and pieces behind more generic interfaces to enable using
  alternative crypto "engines" later on.
rpmio/rpmpgp.c