Patrick,

Am 22.04.20 um 17:41 schrieb Patrick Gansterer:
> diff --git a/doc/configuration.txt b/doc/configuration.txt
> index 2e548b66c..6b5f5ecf9 100644
> --- a/doc/configuration.txt
> +++ b/doc/configuration.txt
> @@ -13918,6 +13918,13 @@ debug([<prefix][,<destination>])
>    Example:
>      tcp-request connection track-sc0 src,debug(track-sc)
>  
> +digest(<algorithm>)
> +  Converts a binary input sample to a message digest. The result is a binary
> +  sample. The algorithm must be an OpenSSL message digest name (e.g sha256).

Small nit: It should read 'e.g.' (with a dot at the end).

> @@ -13972,6 +13979,15 @@ hex2i
>    Converts a hex string containing two hex digits per input byte to an
>    integer. If the input value cannot be converted, then zero is returned.
>  
> +hmac(<algorithm>, <key>)
> +  Converts a binary input sample to a message authentication code with the 
> given
> +  key. The result is a binary sample. The algorithm must be one of the 
> registered
> +  OpenSSL message digest names (e.g sha256). The key parameter must be base64
> +  encoded.

I believe you support a variable key now. You should add this to the doc
(and the reg-test) then.

> +  Please note that this converter is only available when haproxy has been
> +  compiled with USE_OPENSSL.
> +
>  http_date([<offset],[<unit>])
>    Converts an integer supposed to contain a date since epoch to a string
>    representing this date in a format suitable for use in HTTP header fields. 
> If

Best regards
Tim Düsterhus

Reply via email to