mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-25 19:45:44 +01:00
Document x509_crt_parse_path() threading behaviour
This commit is contained in:
parent
5ad68e42e5
commit
e3339ce296
@ -172,6 +172,11 @@ int x509_crt_parse_file( x509_crt *chain, const char *path );
|
||||
* of failed certificates it encountered. If none complete
|
||||
* correctly, the first error is returned.
|
||||
*
|
||||
* \warning This function is NOT thread-safe unless
|
||||
* POLARSSL_THREADING_PTHREADS is defined. If you're using an
|
||||
* alternative threading implementation, you should either use
|
||||
* this function only in the main thread, or mutex it.
|
||||
*
|
||||
* \param chain points to the start of the chain
|
||||
* \param path directory / folder to read the certificate files from
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user