Skip to content

Append newline when writing CA certificate

Adam Cohen requested to merge 236199-correctly-append-to-ca-bundle into master

What does this MR do?

This MR fixes a bug which resulted in the CA Certificate file being invalid if the analyzer is run multiple times. The fix adds newlines when writing the CA Certificate file, ensuring that the resulting file is valid, even when a CA Certificate is appended multiple times.

What are the relevant issue numbers?

gitlab-org/gitlab#236199 (closed)

Testing

Tested here

Does this MR meet the acceptance criteria?

Edited by Fabien Catteau

Merge request reports