From: Daniel Kahn Gillmor Date: Wed, 20 Apr 2011 19:56:24 +0000 (-0400) Subject: remove subvalid parameter to _tryquery() X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=98770a040c3d2db2d428b6240da0b577e0802fe2;p=monkeysphere-validation-agent.git remove subvalid parameter to _tryquery() --- 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 {