mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-08-08 17:42:09 +03:00
- Depth that the certificate verify callback receives is now numbered bottom-up (Peer cert depth is 0)
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user