- Fixed selftest of X509parse code

This commit is contained in:
Paul Bakker 2009-07-10 22:32:40 +00:00
parent ea9778f798
commit 1973e4c582
2 changed files with 2 additions and 2 deletions

View file

@ -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 )

View file

@ -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