$OpenBSD: patch-sql_sql_acl_cc,v 1.1 2003/08/26 15:37:18 brad Exp $
--- sql/sql_acl.cc.orig	2003-08-24 17:10:08.000000000 -0400
+++ sql/sql_acl.cc	2003-08-24 17:11:24.000000000 -0400
@@ -206,10 +206,10 @@ int  acl_init(bool dont_read_acl_tables)
 		      "Found old style password for user '%s'. Ignoring user. (You may want to restart using --old-protocol)",
 		      user.user ? user.user : ""); /* purecov: tested */
     }
-    else if (length % 8)		// This holds true for passwords
+    else if (length % 8 || length > 16)
     {
       sql_print_error(
-		      "Found invalid password for user: '%s@%s'; Ignoring user",
+		      "Found invalid password for user: '%s'@'%s'; Ignoring user",
 		      user.user ? user.user : "",
 		      user.host.hostname ? user.host.hostname : ""); /* purecov: tested */
       continue; /* purecov: tested */
