]> git.ipfire.org Git - thirdparty/suricata.git/commit
output: use BASE64_BUFFER_SIZE macro
authorShivani Bhardwaj <shivanib134@gmail.com>
Thu, 3 Dec 2020 11:30:17 +0000 (17:00 +0530)
committerVictor Julien <victor@inliniac.net>
Thu, 3 Dec 2020 14:17:38 +0000 (15:17 +0100)
commitea0936199d142fc52ec69baf7984cbdd92dd4705
tree24a2b96a20de812d0e7567b61451a5d051ffce52
parentb0a6ed1e2a2a96419a6c8c80b1bd4067d518c5a0
output: use BASE64_BUFFER_SIZE macro

Base64Encode function requires the maximum length of the output string
as its last parameter. Use the macro BASE64_BUFFER_SIZE to calculate it
correctly.
src/log-tlsstore.c
src/output-json-alert.c
src/output-json-dnp3-objects.c
src/output-json-http.c
src/output-json-tls.c
src/output-json.c