]> andersk Git - openssh.git/blobdiff - sshconnect1.c
- aaron@cvs.openbsd.org 2002/08/08 13:50:23
[openssh.git] / sshconnect1.c
index e28b7fc72160264b72adaf364f3c42e9ce0e7955..2fc9a981afca2b830e5f1c41f46f11f1c29b61a5 100644 (file)
@@ -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);
This page took 0.04076 seconds and 4 git commands to generate.