diff options
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 e28b7fc72..2fc9a981a 100644 --- a/sshconnect1.c +++ b/sshconnect1.c | |||
@@ -13,7 +13,7 @@ | |||
13 | */ | 13 | */ |
14 | 14 | ||
15 | #include "includes.h" | 15 | #include "includes.h" |
16 | RCSID("$OpenBSD: sshconnect1.c,v 1.51 2002/05/23 19:24:30 markus Exp $"); | 16 | RCSID("$OpenBSD: sshconnect1.c,v 1.52 2002/08/08 13:50:23 aaron Exp $"); |
17 | 17 | ||
18 | #include <openssl/bn.h> | 18 | #include <openssl/bn.h> |
19 | #include <openssl/md5.h> | 19 | #include <openssl/md5.h> |
@@ -254,7 +254,7 @@ try_rsa_authentication(int idx) | |||
254 | * load the private key. Try first with empty passphrase; if it | 254 | * load the private key. Try first with empty passphrase; if it |
255 | * fails, ask for a passphrase. | 255 | * fails, ask for a passphrase. |
256 | */ | 256 | */ |
257 | if (public->flags && KEY_FLAG_EXT) | 257 | if (public->flags & KEY_FLAG_EXT) |
258 | private = public; | 258 | private = public; |
259 | else | 259 | else |
260 | private = key_load_private_type(KEY_RSA1, authfile, "", NULL); | 260 | private = key_load_private_type(KEY_RSA1, authfile, "", NULL); |