From 5c356d6f8f643e63905e3af55a99dc996b34ecaf Mon Sep 17 00:00:00 2001 From: Paul Bakker Date: Fri, 25 Nov 2011 13:17:45 +0000 Subject: [PATCH] - Fixed typo --- programs/x509/cert_app.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programs/x509/cert_app.c b/programs/x509/cert_app.c index 07e9e5203..1350fc14b 100644 --- a/programs/x509/cert_app.c +++ b/programs/x509/cert_app.c @@ -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 );