Fix bugs in programs displaying verify flags
This commit is contained in:
parent
9f98251e72
commit
9ce1bdc151
2 changed files with 2 additions and 2 deletions
|
@ -176,7 +176,7 @@ int main( void )
|
|||
char vrfy_buf[512];
|
||||
|
||||
polarssl_printf( " failed\n" );
|
||||
x509_crt_verify_info( vrfy_buf, sizeof( vrfy_buf ), " ! ", ret );
|
||||
x509_crt_verify_info( vrfy_buf, sizeof( vrfy_buf ), " ! ", flags );
|
||||
polarssl_printf( "%s\n", vrfy_buf );
|
||||
}
|
||||
else
|
||||
|
|
|
@ -346,7 +346,7 @@ int main( int argc, char *argv[] )
|
|||
|
||||
polarssl_printf( " failed\n" );
|
||||
|
||||
x509_crt_verify_info( vrfy_buf, sizeof( vrfy_buf ), " ! ", ret );
|
||||
x509_crt_verify_info( vrfy_buf, sizeof( vrfy_buf ), " ! ", flags );
|
||||
|
||||
polarssl_printf( "%s\n", vrfy_buf );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue