- Fixed selftest of X509parse code
This commit is contained in:
parent
ea9778f798
commit
1973e4c582
2 changed files with 2 additions and 2 deletions
|
@ -2486,7 +2486,7 @@ int x509_self_test( int verbose )
|
|||
if( verbose != 0 )
|
||||
printf( "passed\n X.509 signature verify: ");
|
||||
|
||||
ret = x509parse_verify( &clicert, &cacert, NULL, "Joe User", &i );
|
||||
ret = x509parse_verify( &clicert, &cacert, NULL, "PolarSSL Client 2", &i );
|
||||
if( ret != 0 )
|
||||
{
|
||||
if( verbose != 0 )
|
||||
|
|
|
@ -117,7 +117,7 @@ int main( int argc, char *argv[] )
|
|||
return( ret );
|
||||
#endif
|
||||
|
||||
#if defined(POLARSSL_X509_C)
|
||||
#if defined(POLARSSL_X509_PARSE_C)
|
||||
if( ( ret = x509_self_test( v ) ) != 0 )
|
||||
return( ret );
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue