Commit 1973e4c5 authored by Paul Bakker's avatar Paul Bakker
Browse files

- Fixed selftest of X509parse code

parent ea9778f7
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment