1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-28 00:21:48 +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

@ -184,7 +184,7 @@ void debug_print_crt( const ssl_context *ssl, int level,
prefix[maxlen] = '\0';
maxlen = sizeof( str ) - 1;
while( crt != NULL && crt->version != 0 )
while( crt != NULL )
{
char buf[1024];
x509parse_cert_info( buf, sizeof( buf ) - 1, prefix, crt );