From 98770a040c3d2db2d428b6240da0b577e0802fe2 Mon Sep 17 00:00:00 2001 From: Daniel Kahn Gillmor Date: Wed, 20 Apr 2011 15:56:24 -0400 Subject: [PATCH] remove subvalid parameter to _tryquery() --- Crypt/Monkeysphere/Validator.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Crypt/Monkeysphere/Validator.pm b/Crypt/Monkeysphere/Validator.pm index 732001b..66fc638 100644 --- a/Crypt/Monkeysphere/Validator.pm +++ b/Crypt/Monkeysphere/Validator.pm @@ -132,7 +132,7 @@ sub lookup { my %opts=@_; if ($self->{kspolicy} eq 'unlessvalid') { - my $ret = $self->_tryquery(uid => $opts{uid}, fpr => $opts{fpr}, key => $opts{key}, subvalid => 0); + my $ret = $self->_tryquery(uid => $opts{uid}, fpr => $opts{fpr}, key => $opts{key}); return $ret if exists($ret->{valid_key}); }; @@ -144,7 +144,7 @@ sub lookup { $self->fetch_uid($opts{uid}); } } - return $self->_tryquery(uid => $opts{uid}, fpr => $opts{fpr}, key => $opts{key}, subvalid => 1); + return $self->_tryquery(uid => $opts{uid}, fpr => $opts{fpr}, key => $opts{key}); } sub keycomp { -- 2.26.2