Repo Added
|
Files
145
|
Badge
README BADGES
|
gitlab-ci
fix: explicitly initialize ssl From the OpenSSL man pages: Numerous internal OpenSSL functions call OPENSSL_init_ssl(). Therefore, in order to perform nondefault initialisation, OPENSSL_init_ssl() MUST be called by application code prior to any other OpenSSL function calls. See: https://docs.openssl.org/3.3/man3/OPENSSL_init_ssl/#description This fixes errors where e.g. the openssl config configures ssl_conf, which requires ssl to be initialized. Ticket: MEN-7549 Changelog: Fix error while loading OpenSSL config file, by explicitly initializing the SSL context prior to loading. Without the explicit initialisation of SSL, the config might not be properly loaded if e.g. it has sections specifying ssl settings. This was the case with the example configuration for OpenSSL 1.1.1w from Debian Bullseye. Signed-off-by: Daniel Skinstad Drabitzius <daniel.drabitzius@northern.tech> (cherry picked from commit 4a3d82b83)
2 of 3 new or added lines in 1 file covered. (66.67%)
1 existing line in 1 file now uncovered.7126 of 8921 relevant lines covered (79.88%)
12263.91 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|
Builds | Branch | Commit | Type | Ran | Committer | Via | Coverage |
---|---|---|---|---|---|---|---|
1481376141 | pr_1674 | fix: explicitly initialize ssl From the OpenSSL man pages: Numerous internal OpenSSL functions call OPENSSL_init_ssl(). Therefore, in order to perform nondefault initialisation, OPENSSL_init_ssl() MUST be called by application code prior to any o... | Pull #1674 | Mender | gitlab-ci |
79.88 |