X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=ud-mailgate;h=6be9f5d288380ac1c77b6f88a04be44052bbbb16;hb=72a27e22b8ecfabe014950a03075475fa5060d3a;hp=7edb3fd33b074752581d7f1b480c700babae4cb4;hpb=7a692d8d2ba0aec4d991f8a2e2db8f332090f460;p=mirror%2Fuserdir-ldap.git diff --git a/ud-mailgate b/ud-mailgate index 7edb3fd..6be9f5d 100755 --- a/ud-mailgate +++ b/ud-mailgate @@ -324,7 +324,7 @@ def DoSSH(Str, Attrs, badkeys, uid): g = Match.groups() if typekey == "ssh-rsa": - key_size_ok = (g[0]) >= 2048) + key_size_ok = (g[0] >= 2048) elif typekey == "ed25519": key_size_ok = True else: