tests: Speed up conventional encryption tests for gpg.
authorWerner Koch <wk@gnupg.org>
Mon, 13 Oct 2014 09:45:34 +0000 (11:45 +0200)
committerWerner Koch <wk@gnupg.org>
Mon, 13 Oct 2014 09:45:34 +0000 (11:45 +0200)
commit2543f0ab9c7b4247347688863f898667bae31984
tree053d2b65288fe0d88c00b2b93357cf1c90d52983
parent2d68dc437e7de92619abe3a019b0a7606487b6bf
tests: Speed up conventional encryption tests for gpg.

* tests/openpgp/conventional-mdc.test: Add an s2k-count option.
* tests/openpgp/conventional.test: Ditto.
--

Due to measuring the iteration count for the passphrase hashing, the
conventional encryption tests are running quite slow.  This patch
fixes it by using a fixed and lower value for the iteration count.

Signed-off-by: Werner Koch <wk@gnupg.org>
tests/openpgp/conventional-mdc.test
tests/openpgp/conventional.test