=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/Attic/sshconnect1.c,v retrieving revision 1.41.2.3 retrieving revision 1.41.2.4 diff -u -r1.41.2.3 -r1.41.2.4 --- src/usr.bin/ssh/Attic/sshconnect1.c 2002/06/22 07:23:18 1.41.2.3 +++ src/usr.bin/ssh/Attic/sshconnect1.c 2002/10/11 14:53:07 1.41.2.4 @@ -13,7 +13,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: sshconnect1.c,v 1.41.2.3 2002/06/22 07:23:18 miod Exp $"); +RCSID("$OpenBSD: sshconnect1.c,v 1.41.2.4 2002/10/11 14:53:07 miod Exp $"); #include #include @@ -251,7 +251,7 @@ * load the private key. Try first with empty passphrase; if it * fails, ask for a passphrase. */ - if (public->flags && KEY_FLAG_EXT) + if (public->flags & KEY_FLAG_EXT) private = public; else private = key_load_private_type(KEY_RSA1, authfile, "", NULL);