openbsd-ports/print/cups/patches/patch-scheduler_auth_c
2018-06-06 08:23:30 +00:00

15 lines
455 B
Plaintext

$OpenBSD: patch-scheduler_auth_c,v 1.11 2018/06/06 08:23:30 ajacoutot Exp $
Index: scheduler/auth.c
--- scheduler/auth.c.orig
+++ scheduler/auth.c
@@ -646,7 +646,7 @@ cupsdAuthorize(cupsd_client_t *con) /* I - Client conn
# endif /* HAVE_SHADOW_H */
- pw = getpwnam(username); /* Get the current password */
+ pw = getpwnam_shadow(username); /* Get the current password */
endpwent(); /* Close the password file */
if (!pw)