]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
DOC: config: fix aes_gcm_enc() description text
authorWilly Tarreau <w@1wt.eu>
Fri, 24 May 2024 10:08:20 +0000 (12:08 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 24 May 2024 10:09:25 +0000 (12:09 +0200)
As reported by Nick Ramirez, it was written "decrypts" instead of
"encrypts". No backport needed.

doc/configuration.txt

index 3961a1bc7d4698ee80b19c5d0271a6464e6e3564..804a77e98be1196340c421a41af2f1ddddf72d3c 100644 (file)
@@ -19250,7 +19250,7 @@ aes_gcm_dec(<bits>,<nonce>,<key>,<aead_tag>)
       aes_gcm_dec(128,txn.nonce,Zm9vb2Zvb29mb29wZm9vbw==,txn.aead_tag)]
 
 aes_gcm_enc(<bits>,<nonce>,<key>,<aead_tag>)
-  Decrypts the raw byte input using the AES128-GCM, AES192-GCM or
+  Encrypts the raw byte input using the AES128-GCM, AES192-GCM or
   AES256-GCM algorithm, depending on the <bits> parameter. <nonce> and <key>
   parameters must be base64 encoded. Last parameter, <aead_tag>, must be a
   variable. The AEAD tag will be stored base64 encoded into that variable.