diff options
author | mouring <mouring> | 2002-08-20 18:41:15 +0000 |
---|---|---|
committer | mouring <mouring> | 2002-08-20 18:41:15 +0000 |
commit | fb4eda87c33afa30d8ab4fed8916e6a1d31613e8 (patch) | |
tree | 756badf1d6d4a4319517099a0dd8e032bccedf0b /sshconnect1.c | |
parent | 70c39ca7ffa7ceeba46b23a8a845c5bbf45d32af (diff) | |
download | openssh-fb4eda87c33afa30d8ab4fed8916e6a1d31613e8.tar.gz |
- aaron@cvs.openbsd.org 2002/08/08 13:50:23
[sshconnect1.c]
Use & to test if bits are set, not &&; markus@ ok.
Diffstat (limited to 'sshconnect1.c')
-rw-r--r-- | sshconnect1.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sshconnect1.c b/sshconnect1.c index e28b7fc7..2fc9a981 100644 --- a/sshconnect1.c +++ b/sshconnect1.c @@ -13,7 +13,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: sshconnect1.c,v 1.51 2002/05/23 19:24:30 markus Exp $"); +RCSID("$OpenBSD: sshconnect1.c,v 1.52 2002/08/08 13:50:23 aaron Exp $"); #include <openssl/bn.h> #include <openssl/md5.h> @@ -254,7 +254,7 @@ try_rsa_authentication(int idx) * 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); |