Title: [PATCH] IIS SSL disconnect bug catches openssl at a weak moment

baseline: 0.9.5a

It seems that IIS's SSL can disconnect at a very peculiar moment during the
connection process...

*** ssl/s23_clnt.c.orig     Mon Jun 12 12:26:52 2000
--- ssl/s23_clnt.c  Mon Jun 12 12:30:43 2000
***************
*** 314,319 ****
--- 314,323 ----

        n=ssl23_read_bytes(s,7);

+         if (n == 0) {
+         SSLerr(SSL_F_SSL23_GET_SERVER_HELLO,SSL_R_SSL_HANDSHAKE_FAILURE);
+         goto err;
+         }
        if (n != 7) return(n);
        p=s->packet;

Reply via email to