- Fixed bug resulting in failure to send the last certificate in the chain in ssl_write_certificate() and ssl_write_certificate_request()
This commit is contained in:
parent
361e6382db
commit
1f76115340
7 changed files with 51 additions and 3 deletions
|
@ -485,7 +485,7 @@ static int ssl_write_certificate_request( ssl_context *ssl )
|
|||
p += 2;
|
||||
crt = ssl->ca_chain;
|
||||
|
||||
while( crt != NULL && crt->next != NULL )
|
||||
while( crt != NULL && crt->version != 0 )
|
||||
{
|
||||
if( p - buf > 4096 )
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue