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: 19-Jun-2010 20:03:18 Branch: HEAD Handle: 2010061918031700 Modified files: rpm/tests tpgp.c Log: - tests: make the compile sensitive to AutoFu. Summary: Revision Changes Path 1.6 +10 -3 rpm/tests/tpgp.c ____________________________________________________________________________ patch -p0 <<'@@ .' Index: rpm/tests/tpgp.c ============================================================================ $ cvs diff -u -r1.5 -r1.6 tpgp.c --- rpm/tests/tpgp.c 12 Jun 2010 14:32:08 -0000 1.5 +++ rpm/tests/tpgp.c 19 Jun 2010 18:03:17 -0000 1.6 @@ -161,10 +161,17 @@ } #endif - if (pgpImplVecs == &rpmgcImplVecs + if (0 +#if defined(WITH_GCRYPT) + || pgpImplVecs == &rpmgcImplVecs +#endif +#if defined(WITH_TOMCRYPT) || pgpImplVecs == &rpmltcImplVecs - || pgpImplVecs == &rpmsslImplVecs) - { +#endif +#if defined(WITH_SSL) + || pgpImplVecs == &rpmsslImplVecs +#endif + ) { fprintf(stderr, " ECDSA"); rc = generateTest(ts, "abc", PGPPUBKEYALGO_ECDSA, PGPHASHALGO_SHA256); if (rc != RPMRC_OK) ec++; @@ . ______________________________________________________________________ RPM Package Manager http://rpm5.org CVS Sources Repository [email protected]
