summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2016-09-13 11:35:31 -0400
committerNiko Tyni <ntyni@debian.org>2018-06-29 10:20:20 +0200
commit0800668d64ed71e383ef03ae3d6e57d69b2355b7 (patch)
treecc6d382c43299d8036ad786f4282f25b8785a09f
parentf72b690cc43bc3393e56a971308e15c5fcbba00f (diff)
subkey validity of an key when we have established no trust anchors
This apparently isn't tested by deep comparisons, though, so it was never caught. Gbp-Pq: Name 0003-subkey-validity-of-an-key-when-we-have-established-n.patch
-rw-r--r--t/get_public_keys.t2
-rw-r--r--t/get_secret_keys.t2
2 files changed, 2 insertions, 2 deletions
diff --git a/t/get_public_keys.t b/t/get_public_keys.t
index 53db021..73e320b 100644
--- a/t/get_public_keys.t
+++ b/t/get_public_keys.t
@@ -175,7 +175,7 @@ TEST
];
my $subkey = GnuPG::SubKey->new
- ( validity => 'u',
+ ( validity => '-',
length => 768,
algo_num => 16,
hex_id => 'ADB99D9C2E854A6B',
diff --git a/t/get_secret_keys.t b/t/get_secret_keys.t
index 3a1d99f..7bba083 100644
--- a/t/get_secret_keys.t
+++ b/t/get_secret_keys.t
@@ -48,7 +48,7 @@ TEST
my $subkey = GnuPG::SubKey->new
- ( validity => 'u',
+ ( validity => '-',
length => 768,
algo_num => 16,
hex_id => 'ADB99D9C2E854A6B',