commit to handling ike:// urls as well
[monkeysphere-validation-agent.git] / Crypt / Monkeysphere / MSVA.pm
index b92821b362af28bb9f57f5a783aee366cf119705..8c4cb818a49917ffc8adbbd407b286ee20062e48 100755 (executable)
 
   sub getuid {
     my $data = shift;
-    if ($data->{context} =~ /^(https|ssh)$/) {
+    if ($data->{context} =~ /^(https|ssh|ike)$/) {
       $data->{context} = $1;
       if ($data->{peer} =~ /^($RE{net}{domain})$/) {
         $data->{peer} = $1;