Commit 0723430177 for openssl.org
commit 0723430177b6dc5a5c7adc72af843a29ef05080b
Author: Nicky Mouha <nmouha@users.noreply.github.com>
Date: Wed Jun 17 16:18:49 2026 -0400
doc: document that `HMAC_Update` cannot be called after `HMAC_Final`
Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Frederik Wedel-Heinen <fwh.openssl@gmail.com>
MergeDate: Thu Jul 23 08:33:21 2026
(Merged from https://github.com/openssl/openssl/pull/31570)
diff --git a/doc/man3/HMAC.pod b/doc/man3/HMAC.pod
index 53a3853eb2..d6cd404ab6 100644
--- a/doc/man3/HMAC.pod
+++ b/doc/man3/HMAC.pod
@@ -112,6 +112,9 @@ be authenticated (I<len> bytes at I<data>).
HMAC_Final() places the message authentication code in I<md>, which
must have space for the hash function output.
+After calling HMAC_Final() no calls to HMAC_Update() or HMAC_Final() can be
+made, but HMAC_Init_ex() can be called to initialize a new HMAC
+operation.
HMAC_CTX_copy() copies all of the internal state from I<sctx> into I<dctx>.