File 0429-Updated-docs-for-the-erl-dist-protocol-s-description.patch of Package erlang

From 4c74e3d03f699431fda5488879e42aa1f96d178a Mon Sep 17 00:00:00 2001
From: Angelo Lakra <angelo.lakra@gmail.com>
Date: Thu, 1 Jun 2023 21:58:57 -0600
Subject: [PATCH] Updated docs for the erl dist protocol's description of the
 gen_digest function

This updates the docs to show the actual order of concatenation of the
cookie + the challenge in `dist_util:gen_dist()`.
---
 erts/doc/src/erl_dist_protocol.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/erts/doc/src/erl_dist_protocol.xml b/erts/doc/src/erl_dist_protocol.xml
index 389e967f5f..2baaf5f3d2 100644
--- a/erts/doc/src/erl_dist_protocol.xml
+++ b/erts/doc/src/erl_dist_protocol.xml
@@ -585,8 +585,8 @@ io:format("old/unused name ~ts at port ~p, fd = ~p ~n",
         <c>gen_challenge()</c> returns a random 32-bit integer used as a
         challenge.</p>
 
-      <p>A digest is a (16 bytes) MD5 hash of the challenge (as text)
-        concatenated with the cookie (as text). Below, the function
+      <p>A digest is a (16 bytes) MD5 hash of the cookie (as text)
+        concatenated with the challenge (as text). Below, the function
         <c>gen_digest(Challenge, Cookie)</c> generates a digest as described
         above.</p>
 
-- 
2.35.3

openSUSE Build Service is sponsored by