From 0bc736d3841f1cbf77741801f9492b1f40e75279 Mon Sep 17 00:00:00 2001
From: Sergey Lyubka <valenok@gmail.com>
Date: Sat, 28 Aug 2021 08:23:33 +0100
Subject: [PATCH] Update docs

---
 docs/README.md | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/docs/README.md b/docs/README.md
index 6d8170265..5a3397926 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -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
-- 
GitLab