projects
/
suckless
/
slock.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2f9757
)
Update bsd-auth string.
author
Markus Teich
<markus.teich@stusta.mhn.de>
Tue, 30 Aug 2016 22:56:13 +0000
(
00:56
+0200)
committer
Markus Teich
<markus.teich@stusta.mhn.de>
Tue, 30 Aug 2016 22:56:13 +0000
(
00:56
+0200)
Thanks to Hiltjo for discovering this.
slock.c
patch
|
blob
|
history
diff --git
a/slock.c
b/slock.c
index dd323740bbdd0206cbc9685031360ba2fe0ea7c4..847b3285f5a75af8cd62dfa30f90eeadc64b4a59 100644
(file)
--- a/
slock.c
+++ b/
slock.c
@@
-157,7
+157,7
@@
readpw(Display *dpy, const char *pws)
case XK_Return:
passwd[len] = 0;
#ifdef HAVE_BSD_AUTH
- running = !auth_userokay(getlogin(), NULL, "auth-
x
lock", passwd);
+ running = !auth_userokay(getlogin(), NULL, "auth-
s
lock", passwd);
#else
running = !!strcmp(crypt(passwd, pws), pws);
#endif