fix bug that added subvalid keys to the wrong list
authorDavid Bremner <bremner@unb.ca>
Sat, 19 Mar 2011 19:18:23 +0000 (16:18 -0300)
committerDavid Bremner <bremner@unb.ca>
Sat, 19 Mar 2011 20:22:15 +0000 (17:22 -0300)
Crypt/Monkeysphere/Validator.pm

index 6f5b1168c3e286cc9b02ce4b9bd4d0cb45736522..b4703494feee27e22fa0795b04a90f7765620767 100644 (file)
@@ -90,7 +90,7 @@ sub query{
                last unless($self->{findall});
              } else {
                $self->log('verbose', "...but is not fully valid (%s).\n",$validity);
-               push(@{$self->{subvalid_keys}},
+               push(@{$ret->{subvalid_keys}},
                     {fingerprint => $subkey->fingerprint, val => $validity }) if $lastloop;
              }
            }