1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-08-01 10:06:53 +03:00

- Corrected behaviour

This commit is contained in:
Paul Bakker
2010-03-21 21:03:34 +00:00
parent fc8c4360b8
commit 2908713af1
3 changed files with 3 additions and 3 deletions

View File

@ -1160,7 +1160,7 @@ int ssl_write_certificate( ssl_context *ssl )
i = 7;
crt = ssl->own_cert;
while( crt != NULL && crt->version != 0 )
while( crt != NULL )
{
n = crt->raw.len;
if( i + 3 + n > SSL_MAX_CONTENT_LEN )