mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-22 11:36:21 +00:00
Update docs
This commit is contained in:
1 parent
3bf7b817f6
commit
0bc736d384
1 file changed
+2
-3
+2
-3
@@ -1111,9 +1111,8 @@ int mg_tls_init(struct mg_connection *c, struct mg_tls_opts *opts);
|
||||
Initialise TLS on a given connection.
|
||||
|
||||
IMPORTANT: mbedTLS implementation uses `mg_random` as RNG. The `mg_random`
|
||||
is defined as weak, therefore it is possible to override Mongoose's `mg_random`
|
||||
with a custom implementation. Just create your own `mg_random` function:
|
||||
`void mg_random(void *buf, size_t len)`.
|
||||
can be overridden by setting `MG_ENABLE_CUSTOM_RANDOM` and defining
|
||||
your own `mg_random()` implementation.
|
||||
|
||||
|
||||
## Timers
|
||||
|
||||
Reference in new issue
Block a user