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: 31-May-2010 17:27:02 Branch: HEAD Handle: 2010053115270200 Modified files: rpm/tests trsa.c Log: - rsa: WIP. Summary: Revision Changes Path 1.14 +22 -28 rpm/tests/trsa.c ____________________________________________________________________________ patch -p0 <<'@@ .' Index: rpm/tests/trsa.c ============================================================================ $ cvs diff -u -r1.13 -r1.14 trsa.c --- rpm/tests/trsa.c 31 May 2010 15:08:21 -0000 1.13 +++ rpm/tests/trsa.c 31 May 2010 15:27:02 -0000 1.14 @@ -2627,35 +2627,29 @@ const char *data; int expected_rc; } datas[] = { - { - "(data\n (flags pkcs1)\n" - " (hash sha1 #11223344556677889900AABBCCDDEEFF10203040#))\n", - 0}, - /* This test is to see whether hash algorithms not hard wired in + { "(data\n (flags pkcs1)\n" + " (hash sha1 #11223344556677889900AABBCCDDEEFF10203040#))\n", 0 }, + /* This test is to see whether hash algorithms not hard wired in pubkey.c are detected: */ - { - "(data\n (flags pkcs1)\n" - " (hash oid.1.3.14.3.2.29 " - " #11223344556677889900AABBCCDDEEFF10203040#))\n", - 0}, { - "(data\n (flags )\n" - " (hash sha1 #11223344556677889900AABBCCDDEEFF10203040#))\n", - GPG_ERR_CONFLICT}, { - "(data\n (flags pkcs1)\n" - " (hash foo #11223344556677889900AABBCCDDEEFF10203040#))\n", - GPG_ERR_DIGEST_ALGO}, { - "(data\n (flags )\n" " (value #11223344556677889900AA#))\n", 0}, { - "(data\n (flags )\n" " (value #0090223344556677889900AA#))\n", - 0}, { - "(data\n (flags raw)\n" " (value #11223344556677889900AA#))\n", - 0}, { - "(data\n (flags pkcs1)\n" - " (value #11223344556677889900AA#))\n", - GPG_ERR_CONFLICT}, { - "(data\n (flags raw foo)\n" - " (value #11223344556677889900AA#))\n", - GPG_ERR_INV_FLAG}, { - NULL} + { "(data\n (flags pkcs1)\n" + " (hash oid.1.3.14.3.2.29 " + " #11223344556677889900AABBCCDDEEFF10203040#))\n", 0 }, + { "(data\n (flags )\n" + " (hash sha1 #11223344556677889900AABBCCDDEEFF10203040#))\n", + GPG_ERR_CONFLICT }, + { "(data\n (flags pkcs1)\n" + " (hash foo #11223344556677889900AABBCCDDEEFF10203040#))\n", + GPG_ERR_DIGEST_ALGO }, + { "(data\n (flags )\n" " (value #11223344556677889900AA#))\n", 0 }, + { "(data\n (flags )\n" " (value #0090223344556677889900AA#))\n", 0 }, + { "(data\n (flags raw)\n" " (value #11223344556677889900AA#))\n", 0 }, + { "(data\n (flags pkcs1)\n" + " (value #11223344556677889900AA#))\n", + GPG_ERR_CONFLICT }, + { "(data\n (flags raw foo)\n" + " (value #11223344556677889900AA#))\n", + GPG_ERR_INV_FLAG }, + { NULL } }; int xx; @@ . ______________________________________________________________________ RPM Package Manager http://rpm5.org CVS Sources Repository [email protected]
