File: radiusd-1.16.shadow.diff

package info (click to toggle)
freeradius-client 1.1.6-7
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 2,048 kB
  • ctags: 504
  • sloc: sh: 8,504; ansic: 4,704; perl: 425; makefile: 86
file content (12 lines) | stat: -rw-r--r-- 353 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
--- radiusd.c~	Fri Jan  6 22:58:16 1995
+++ radiusd.c	Thu Apr  4 22:43:31 1996
@@ -1426,7 +1426,8 @@
 	encrypted_pass = pwd->pw_passwd;
 
 #if !defined(NOSHADOW)
-	if(strcmp(pwd->pw_passwd, "x") == 0) {
+	if ((strcmp(pwd->pw_passwd, "x") == 0) ||
+	    (strcmp(pwd->pw_passwd, "*") == 0)) {
 		if((spwd = getspnam(name)) == NULL) {
 			return(-1);
 		}