- Added verification callback in certificate verification chain in order to allow external blacklisting

This commit is contained in:
Paul Bakker 2011-01-13 17:54:59 +00:00
parent 1b57b06751
commit b63b0afc05
8 changed files with 104 additions and 38 deletions

View file

@ -146,7 +146,7 @@ int main( void )
printf( " . Verify the client certificate with CA certificate..." );
fflush( stdout );
ret = x509parse_verify( &clicert, &cacert, &crl, NULL, &flags );
ret = x509parse_verify( &clicert, &cacert, &crl, NULL, &flags, NULL, NULL );
if( ret != 0 )
{
if( ret == POLARSSL_ERR_X509_CERT_VERIFY_FAILED )