I see no harm in that patch, and it makes
ssl3_send_certificate_request() consistent with all the other similar
functions, so I applied it.

Thanks.  Ticket resolved.  Please try the next snapshot.

[EMAIL PROTECTED] - Thu Aug 21 07:38:18 2003]:

> In function ssl3_send_certificate_request(), the state
> is never switched to SSL3_ST_SW_CERT_REQ_B after
> the handshake message is serialized.
> 
> It's a fairly minor bug, with a simple fix:
> 
> #ifdef NETSCAPE_HANG_BUG
>                 p=(unsigned char *)s->init_buf->data + s->init_num;
> 
>                 /* do the header */
>                 *(p++)=SSL3_MT_SERVER_DONE;
>                 *(p++)=0;
>                 *(p++)=0;
>                 *(p++)=0;
>                 s->init_num += 4;
> #endif
> 
> >
> >             s->state = SSL3_ST_SW_CERT_REQ_B;
>                 }
> 
>         /* SSL3_ST_SW_CERT_REQ_B */
>         return(ssl3_do_write(s,SSL3_RT_HANDSHAKE));
> err:
>         return(-1);
>         }
> 
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> Development Mailing List                       [EMAIL PROTECTED]
> Automated List Manager                           [EMAIL PROTECTED]


-- 
Richard Levitte
[EMAIL PROTECTED]
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to