]> andersk Git - openssh.git/blobdiff - auth2.c
- OpenBSD CVS update
[openssh.git] / auth2.c
diff --git a/auth2.c b/auth2.c
index 3d997f45b35f469c22dbff784fd9139d8edf3d22..3c15639dd676904015977c8225ac67b8c98efa9a 100644 (file)
--- a/auth2.c
+++ b/auth2.c
@@ -27,7 +27,7 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 #include "includes.h"
-RCSID("$OpenBSD: auth2.c,v 1.7 2000/05/06 17:45:36 markus Exp $");
+RCSID("$OpenBSD: auth2.c,v 1.8 2000/05/08 17:42:24 markus Exp $");
 
 #include <openssl/dsa.h>
 #include <openssl/rsa.h>
@@ -278,6 +278,10 @@ ssh2_auth_pubkey(struct passwd *pw, unsigned char *raw, unsigned int rlen)
                debug("pubkey auth disabled");
                return 0;
        }
+       if (datafellows & SSH_BUG_PUBKEYAUTH) {
+               log("bug compatibility with ssh-2.0.13 pubkey not implemented");
+               return 0;
+       }
        have_sig = packet_get_char();
        pkalg = packet_get_string(&alen);
        if (strcmp(pkalg, KEX_DSS) != 0) {
This page took 0.026221 seconds and 4 git commands to generate.