- Depth that the certificate verify callback receives is now numbered bottom-up (Peer cert depth is 0)

This commit is contained in:
Paul Bakker 2012-11-14 12:11:38 +00:00
parent e0f41f3086
commit 34d8dbcc6d
3 changed files with 35 additions and 18 deletions

View file

@ -680,7 +680,7 @@ int x509parse_time_expired( const x509_time *time );
* (void *parameter, x509_cert *crt, int certificate_depth,
* int *flags). With the flags representing current flags for
* that specific certificate and the certificate depth from
* the top (Trust CA depth = 0).
* the bottom (Peer cert depth = 0).
*
* All flags left after returning from the callback
* are also returned to the application. The function should