Use strncasecmp instead of strncmp when comparing the password scheme.
authormartijn <martijn@openbsd.org>
Wed, 29 Jun 2022 09:10:13 +0000 (09:10 +0000)
committermartijn <martijn@openbsd.org>
Wed, 29 Jun 2022 09:10:13 +0000 (09:10 +0000)
commit9e1f3787a0070ae02fb0e5526da8da40ad0cd60f
tree5224f83924c812fa45278762b31ed23b25450355
parent2c8b151e73a27a4aa453519635a9ae1c2a300ec7
Use strncasecmp instead of strncmp when comparing the password scheme.
This change could theoretically affect some people who actually have one
of the scheme's in lower case in their password, but this is extremely
unlikely in the real world.

Pointed out by David Diggles (david <at> elven <dot> com <dot> au)
OK sthen@
usr.sbin/ldapd/auth.c