aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2014-10-13 13:00:39 +0000
committerWerner Koch <[email protected]>2014-10-13 13:08:58 +0000
commitfab89f159bcb36ea7285af661d5756eefa981822 (patch)
treea6538a2276b8c7d20b5bc16a04a0871d16e6efa2 /tests
parentgpg: Fix informative printing of user ids. (diff)
downloadgnupg-fab89f159bcb36ea7285af661d5756eefa981822.tar.gz
gnupg-fab89f159bcb36ea7285af661d5756eefa981822.zip
gpg: Remove extra RSA import status line.
* g10/import.c (stats_s): Remove field "imported_rsa". (import_print_stats): Do not print separate value for RSA. (import_one): Remove the RSA counter. -- RSA is the standard key format and thus there is no more need to have a separate counter. This is a remain from the RSA patent times. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/openpgp/import.test4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/openpgp/import.test b/tests/openpgp/import.test
index a58db40fe..783d059bb 100755
--- a/tests/openpgp/import.test
+++ b/tests/openpgp/import.test
@@ -43,4 +43,6 @@ $GPG --import $key1 || true
$GPG --import $key2 || true
n=$($GPG --list-keys --with-colons $fpr1 $fpr2 2>/dev/null \
| grep '^pub:.:4096:1:DDA252EBB8EBE1AF:' | wc -l)
-[ $n -ne 2 ] && error "Importing keys with long id collision failed"
+if [ $n -ne 2 ] ; then
+ error "Importing keys with long id collision failed"
+fi