blob: db7306e2b2143d71af11f1e4cf41cf503282cd2f (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- tc.func.c.orig 2013-05-16
+++ tc.func.c 2013-05-16
@@ -733,7 +733,7 @@ auto_lock(void)
pp = xgetpass("Password:");
crpp = XCRYPT(pw, pp, srpp);
- if ((strcmp(crpp, srpp) == 0)
+ if ((crpp && (strcmp(crpp, srpp) == 0))
#ifdef AFS
|| (ka_UserAuthenticateGeneral(KA_USERAUTH_VERSION,
afsname, /* name */
|