Update from samosa: Only use SSH2AuthSplit.match(), maybe it's superior?
authorjoey <>
Sat, 6 Nov 2004 15:11:32 +0000 (15:11 +0000)
committerjoey <>
Sat, 6 Nov 2004 15:11:32 +0000 (15:11 +0000)
ud-mailgate

index ede45ac..ebb5d45 100755 (executable)
@@ -161,11 +161,9 @@ def DoPosition(Str,Attrs):
 # Handle an SSH authentication key, the line format is:
 #  [options] 1024 35 13188913666680[..] [comment]
 def DoSSH(Str,Attrs):
-   Match = SSHAuthSplit.match(Str);
+   Match = SSH2AuthSplit.match(Str);
    if Match == None:
-      Match = SSH2AuthSplit.match(Str);
-      if Match == None:
-         return None;
+      return None;
    
    global SeenKey;
    if SeenKey: