summaryrefslogtreecommitdiffstats
path: root/openpgp/src/cert/builder.rs
diff options
context:
space:
mode:
Diffstat (limited to 'openpgp/src/cert/builder.rs')
-rw-r--r--openpgp/src/cert/builder.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp/src/cert/builder.rs b/openpgp/src/cert/builder.rs
index 4b958e2f..0d9f77b1 100644
--- a/openpgp/src/cert/builder.rs
+++ b/openpgp/src/cert/builder.rs
@@ -1916,7 +1916,7 @@ mod tests {
#[test]
fn primary_user_things() -> Result<()> {
fn count_primary_user_things(c: Cert) -> usize {
- c.into_packets().map(|p| match p {
+ c.into_packets2().map(|p| match p {
Packet::Signature(s) if s.primary_userid().unwrap_or(false)
=> 1,
_ => 0,