There was a hardcoded buffer for processing TLS ciphers. Anything over 1024 characters was truncated and was not applied.
Fix Description:
Don't use a fixed size buffer and just use the entire string. When printing errors about invalid format then we must use a fixed sized buffer, but we will truncate that log value as to not exceed the ssl logging function's buffer, and still output a useful message.
Bug Description:
There was a hardcoded buffer for processing TLS ciphers. Anything over 1024 characters was truncated and was not applied.
Fix Description:
Don't use a fixed size buffer and just use the entire string. When printing errors about invalid format then we must use a fixed sized buffer, but we will truncate that log value as to not exceed the ssl logging function's buffer, and still output a useful message.
ASAN approved
https://pagure.io/389-ds-base/issue/50426