=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/su/su.c,v retrieving revision 1.13 retrieving revision 1.14 diff -c -r1.13 -r1.14 *** src/usr.bin/su/su.c 1996/10/21 19:33:36 1.13 --- src/usr.bin/su/su.c 1996/10/23 01:28:57 1.14 *************** *** 1,4 **** ! /* $OpenBSD: su.c,v 1.13 1996/10/21 19:33:36 deraadt Exp $ */ /* * Copyright (c) 1988 The Regents of the University of California. --- 1,4 ---- ! /* $OpenBSD: su.c,v 1.14 1996/10/23 01:28:57 millert Exp $ */ /* * Copyright (c) 1988 The Regents of the University of California. *************** *** 41,47 **** #ifndef lint /*static char sccsid[] = "from: @(#)su.c 5.26 (Berkeley) 7/6/91";*/ ! static char rcsid[] = "$OpenBSD: su.c,v 1.13 1996/10/21 19:33:36 deraadt Exp $"; #endif /* not lint */ #include --- 41,47 ---- #ifndef lint /*static char sccsid[] = "from: @(#)su.c 5.26 (Berkeley) 7/6/91";*/ ! static char rcsid[] = "$OpenBSD: su.c,v 1.14 1996/10/23 01:28:57 millert Exp $"; #endif /* not lint */ #include *************** *** 174,182 **** p = getpass("Password:"); #ifdef SKEY if (strcasecmp(p, "s/key") == 0) { ! if (skey_haskey(user)) ! errx(1, "Sorry, you have no s/key."); ! else if (skey_authenticate(user)) goto badlogin; } else #endif --- 174,180 ---- p = getpass("Password:"); #ifdef SKEY if (strcasecmp(p, "s/key") == 0) { ! if (skey_authenticate(user)) goto badlogin; } else #endif