]> git.ipfire.org Git - thirdparty/openssl.git/commit
safe_math: documentation example fix
authorPauli <paul.dale@oracle.com>
Wed, 4 Mar 2026 23:28:15 +0000 (10:28 +1100)
committerTomas Mraz <tomas@openssl.org>
Wed, 11 Mar 2026 10:19:18 +0000 (11:19 +0100)
commit341a3d4d7df5e2ab7ff72115bf820d92d6167136
tree66db6fb629b4f3ed87232a9b06657d3ca33f4308
parent179ca25f94a0e07798921688be2a81ed05697e67
safe_math: documentation example fix

The example was for an older version of the code which used triadic
macros to define the functions.  The code was simplified making these
dyadic but the example was skipped.  This fixes the example.

Fixes: cccfc668286c "doc: document the internal integer overflow helpers"
References: b037e3637a49 "header: add integer overflow helper functions"

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Frederik Wedel-Heinen <fwh.openssl@gmail.com>
Reviewed-by: Eugene Syromiatnikov <esyr@openssl.org>
MergeDate: Wed Mar 11 10:19:05 2026
(Merged from https://github.com/openssl/openssl/pull/30266)

(cherry picked from commit 77f1718f6f81aa269f8b46a7ba6d186c3477215a)
doc/internal/man3/OSSL_SAFE_MATH_SIGNED.pod