Fix a compilation error if S/Key support is disabled.

Submitted by:	 Hoss Firooznia
This commit is contained in:
Paul Traina 1997-04-02 06:11:05 +00:00
parent 196eae9877
commit 5365424c25
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=6105

View File

@ -56,7 +56,7 @@
! pass_ok ? "" : " (required)"));
}
+ #else
+ if (strcmp(crypt(p->pop_parm[1], pw->pw_passwd)))
+ if (strcmp(crypt(p->pop_parm[1], pw->pw_passwd), pw->pw_passwd))
+ goto error;
+ #endif