- Fixed typo

This commit is contained in:
Paul Bakker 2011-11-25 13:17:45 +00:00
parent 14cb63a40c
commit 5c356d6f8f

View File

@ -202,7 +202,7 @@ int main( int argc, char *argv[] )
while( cur != NULL )
{
printf( " . Peer certificate information ...\n" );
ret = x509parse_cert_info( (char *) buf, sizeof( buf ) - 1, " ", &crt );
ret = x509parse_cert_info( (char *) buf, sizeof( buf ) - 1, " ", cur );
if( ret == -1 )
{
printf( " failed\n ! x509parse_cert_info returned %d\n\n", ret );